/* * Version: 6.6.138B282 * Copyright (c) 31-01-2024 GlassBox http://www.glassboxdigital.com */ !function(k,I,e,ue,v,ce){if(e||!function(e,n){if(void 0!==e[n])return void 0!==e.console&&"function"==typeof e.console.log&&console.log("WARNING[Glassbox-1301]: detector script has been loaded more than once. Please fix to have a single detector loading. (Extra script loading will be ignored)"),1;try{e._gbLocalStorage=e.localStorage}catch(e){"SecurityError"===e.name&&console.log("[Glassbox] localStorage is not available.")}try{e._gbSessionStorage=e.sessionStorage}catch(e){"SecurityError"===e.name&&console.log("[Glassbox] sessionStorage is not available.")}if(e._cls_config&&e._cls_config.noStorageRecDisable&&(!e._gbLocalStorage||!e._gbSessionStorage))return console.warn("[Glassbox] Recording has been disabled because browser storage is not available (are cookies disabled?)"),1;if(void 0===e.NodeFilter)return 1;if(e._cls_config&&e._cls_config.disableDetector)return e._cls_config={};return}(I,k)){var g,n,p,E,T,S,x,i,f,d,h,M,A,R,D,F,N,B,V,t,r,z,H,W,G,q,J,m,y,o="undefined"!=typeof window?window:self,le=(g=o,a=ue,(n={beaconVersion:"2"}).detectorVersion=v,n.detectorScript=a?(t=a.currentScript,J="data-clsconfig",t?!t.hasAttribute(J)&&a.querySelector("["+J+"]")||t:(t=a.querySelector("["+J+"]"),(t=g&&!t&&g._cls_config&&g._cls_config.detectorTagId?a.getElementById(g._cls_config.detectorTagId):t)||a.getElementById("_cls_detector"))):ce,n.mouseEvents=function(){if(g){if(!g.PointerEvent)return;if(g._cls_config&&g._cls_config.disablePointerEvents)return;if(n.detectorScript)try{var e=n.detectorScript.getAttribute("data-clsconfig");if(e&&/disablePointerEvents *= *true/.test(e))return}catch(e){console.error("[Glassbox-411]: Error while getting data-clsconfig value")}return 1}}()?{down:"pointerdown",up:"pointerup"}:{down:"mousedown",up:"mouseup"},n.eventTypes=[n.mouseEvents.down,n.mouseEvents.up,"touchstart","touchend","scroll","change","blur","focusout","keydown","keyup","submit","reset","load","unload","ajaxComplete","hashchange","navigation","popstate","focus","focusin","mouseenter","mousemove","error","beforeunload","resize","pagehide","dragstart","dragend","visibilitychange","copy","paste","cut"],n.snapshotApplicableEventType=["pageUpdate","change","mousedown","scroll","touchstart","touchend","blur","submit","drag","dragstart","dragend","formValidationError","navigation","unload","beforeunload","segmentChanged","domTampered","visibilitychange"],n.reportBase64URLs=!1,n.nobelEventTypes=["pageSnapshot"],n.socialNobelEventTypes=["resourceContent"],n.encryptionPrefix="__ENC_",n.encodeSelectors=!0,n.encodeEventTypes=!0,n.useClassesInSelectors=!1,n.encoding={numberBase:36,rootSelector:"-",rootCssSelector:"-",delimiters:{versionPayload:";",pages:"~~~",events:"~~",eventParts:"~",pageIdEvents:"_"},domSnapshotPrefix:"D",domSnapshotRefPrefix:"r",domSnapshotCompressedPrefix:"d",domSnapshotPlainPrefix:"P",valueEncodedPrefix:"E",valueNotEncodedPrefix:"N"},n.cookies={session:"_cls_s",visitor:"_cls_v",sub_session:"_cls_subs",supportMode:"_cls_sm",optOut:"gb.OptOut",clse:"cls_e",delay:"cls_delay_ignored"},n.censorMode={BlackList:"blacklist",WhiteList:"whitelist"},n.iframesAutoInjectMode={BlackList:"blacklist",WhiteList:"whitelist"},n.Storage={BoundKeyPrefix:"gb.",UnboundKeyPrefix:"gb_unbound."},n.dataLimit=4194304,n),K={},C=(void 0!==K&&Vn(K),le.setup="dom",void 0!==K&&zn(K),le.dictionary={eventTypes:{change:0,document:2,mousedown:3,touchstart:4,touchend:5,focusout:6,blur:7,unload:9,submit:10,reset:11,mouseup:12,drag:13,scroll:14,popstate:15,keydown:16,keyup:17,keypress:18,scrollReach:19,timing:20,idle:21,ajaxRequest:22,formValidationError:23,hashchange:25,botDetection:26,mouseenter:27,navigation:28,mousemove:29,error:30,thirdparty:31,custom:32,hover:33,thirdpartymap:34,performance:35,resource:36,clsdebug:37,resize:38,thirdPartyAttribute:39,ajaxStats:40,ajaxLimitReached:41,dataLayerMap:42,pageSnapshot:91,pageUpdate:92,resourceContent:93,corsDeniedResource:94,formAnalysis:95,blackout:101,segmentChanged:102,titleChanged:103,devToolsVisibilityChanged:104,domTampered:105,webStruggle:106,voc:107,vocV2:108,clientAttribute:110,waterfall:111,lastSegment:112,webVitals:113,resourcesWaterfall:114,abTesting:120,customMap:121,tilt:122,zoom:123,resourceUrls:124,consoleWarn:125,consoleInfo:126,rightclick:127,swipe:128,glassvoxOpen:129,glassvoxResponse:130,glassvoxClose:131,glassvoxComplete:132,clipboard:140,personalizationCampaign:141},elements:{DIV:0,SPAN:1,INPUT:2,FORM:3,SELECT:4,TEXTAREA:5,TABLE:6,TR:7,TD:8,IFRAME:9,TBODY:10,THEAD:11,LABEL:12},encodingTypes:{cd_number:0,cd_boolean:1,cd_string:2,cd_coordinate:3,cd_navtiming:4,cd_objarray:5,cd_abtesting:6},performanceTimingEvents:{navigationStart:1,redirectStart:2,fetchStart:4,domainLookupStart:5,connectStart:7,secureConnectionStart:8,requestStart:10,responseStart:13,domLoading:15,domContentLoadedEventStart:17,domComplete:19,loadEventStart:20,loadEventEnd:21},encode:function(e,n){n=n[e];return n!==ce?n:e},encodeEventType:function(e){return le.dictionary.encode(e,le.dictionary.eventTypes)},encodeNodeName:function(e){return le.dictionary.encode(e,le.dictionary.elements)},encodeEncodingType:function(e){return le.dictionary.encode(e,le.dictionary.encodingTypes)},encodePerformanceTimingMeasurement:function(e){return le.dictionary.encode(e,le.dictionary.performanceTimingEvents)}},p=Object.prototype.toString,{isFunction:function(e){return"function"==typeof e},isNumber:function(e){return"number"==typeof e||"[object Number]"===p.call(e)},isBoolean:function(e){return"boolean"==typeof e||"[object Boolean]"==p.call(e)},isString:function(e){return"string"==typeof e||"[object String]"===p.call(e)},isUndefined:function(e){return void 0===e},last:function(e){return e&&e[e.length-1]},forOwn:function(e,n){for(var t in e)e.hasOwnProperty(t)&&n(e[t],t)},indexOf:E=Hn("indexOf"),pluck:function(e,n){return e?e.map(function(e){return e[n]}):[]},reduce:Hn("reduce"),contains:"function"==typeof Array.prototype.includes?Hn("includes"):function(e,n,t){return-1n[2]?1:0}(e=e||this).on=function(e,n,t,r){r===ce&&(r=0),(o[e]=o[e]||[]).push([n,t,r,!1]),o[e].sort(i)},e.once=function(e,n,t,r){r===ce&&(r=0),(o[e]=o[e]||[]).push([n,t,r,!0]),o[e].sort(i)},e.off=function(e,n){for(var t=(o=e?o:{})[e]||a,r=t.length=n?t.length:0;r--;)n==t[r][0]&&t.splice(r,1)},e.emit=function(e){for(var n,t=o[e]||a,r=0n&&(r=e.substr(0,n),t)?r.concat("..."):r},getCoordinate:function(e){var n=e.changedTouches||e.touches,n=n&&0r+e.element.clientWidth)return!0}else if("rtl"===i&&e.value.coordinate.xo+e.element.clientHeight)return!0}catch(e){logger.error("Error while in scrollOnElement. Error: "+e.message,e)}return!1},getElementXYCoordinates:function(e){var n;return e&&"getBoundingClientRect"in e?(e=e.getBoundingClientRect(),n=this.getScrollTopLeft(),new qn(Math.round(e.left+n.left),Math.round(e.top+n.top))):null},isSameCoordinates:function(e,n){return e.x===n.x&&e.y===n.y},isCoordinatesDistLargerThan:function(e,n,t){return Math.abs(e.x-n.x)>t||Math.abs(e.y-n.y)>t},getCurrentScrollReach:function(e){try{return e?e.currentY:(void 0!==f.pageYOffset?f.pageYOffset:(f.document.documentElement||this.parentNode(f.document.body)||f.document.body).scrollTop)+(f.innerHeight||f.document.documentElement.clientHeight||f.document.body.clientHeight)}catch(e){return 0}},getWindowSize:function(){return i.isNumber(f.innerWidth)&&i.isNumber(f.innerHeight)?this.validateSize(f.innerWidth,f.innerHeight):!i.isUndefined(d.body)&&i.isNumber(d.body.offsetWidth)&&i.isNumber(d.body.offsetHeight)?this.validateSize(d.body.offsetWidth,d.body.offsetHeight):null},getScreenSize:function(){return this.validateSize(f.screen.width,f.screen.height)},getVisualViewportSize:function(){return this.validateSize(f.visualViewport.width,f.visualViewport.height)},validateSize:function(e,n){return i.isNumber(e)&&i.isNumber(n)?{width:e,height:n}:null},indexOfNode:function(e,n,t){for(var r=t||0;rn}catch(e){return!1}},time:function(e){h.timingMode&&z&&f.console.time(e)},timeEnd:function(e){h.timingMode&&z&&f.console.timeEnd(e)},timeStamp:function(e){h.timingMode&&z&&f.console.timeStamp(e)},hasOneOfClassNames:function(e,n){try{var t;return e.classList?(t=e.classList,n.some(function(e){return t.contains(e)})):(t=this.getClassList(e),n.some(function(e){return-1>6|192:(55296==(64512&i)&&r+1>18|240,n[t++]=i>>12&63|128):n[t++]=i>>12|224,n[t++]=i>>6&63|128),n[t++]=63&i|128)}return n},compositeFunctionBuilder:function(t){var r=[];return{add:function(e){return"function"==typeof e&&r.push(e),this},build:function(){return r.length?function(){for(var e,n=0;ne.documentEvent.timestamp+e.config.infiniteScrollDetectionWaitTime))||t>>6:(t<65536?n[i++]=224|t>>>12:(n[i++]=240|t>>>18,n[i++]=128|t>>>12&63),n[i++]=128|t>>>6&63),n[i++]=128|63&t);return n},t.buf2binstring=function(e){return l(e,e.length)},t.binstring2buf=function(e){for(var n=new u.Buf8(e.length),t=0,r=n.length;t>10&1023,o[a++]=56320|1023&t)}return l(o,a)},t.utf8border=function(e,n){for(var t=(n=(n=n||e.length)>e.length?e.length:n)-1;0<=t&&128==(192&e[t]);)t--;return!(t<0)&&0!==t&&t+c[e[t]]>n?t:n}},{"./common":2}],4:[function(e,n,t){"use strict";n.exports=function(e,n,t,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==t;){for(t-=a=2e3>>1:t>>>1;e[n]=t}return e}();n.exports=function(e,n,t,r){var i=s,o=r+t;e^=-1;for(var a=r;a>>8^i[255&(e^n[a])];return-1^e}},{}],6:[function(e,N,n){"use strict";var s,f=e("../utils/common"),u=e("./trees"),d=e("./adler32"),h=e("./crc32"),B=e("./messages"),c=0,l=4,v=0,g=-2,_=-1,j=4,U=2,m=8,V=9,t=286,z=30,H=19,W=2*t+1,G=15,p=3,y=258,b=y+p+1,w=42,E=113,C=1,T=2,S=3,x=4;function I(e,n){return e.msg=B[n],n}function k(e){return(e<<1)-(4e.avail_out?e.avail_out:t)&&(f.arraySet(e.output,n.pending_buf,n.pending_out,t,e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,0===n.pending)&&(n.pending_out=0)}function R(e,n){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,A(e.strm)}function D(e,n){e.pending_buf[e.pending++]=n}function O(e,n){e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=255&n}function o(e,n){var t,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-b?e.strstart-(e.w_size-b):0,c=e.window,l=e.w_mask,f=e.prev,d=e.strstart+y,h=c[o+a-1],v=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(t=n)+a]===v&&c[t+a-1]===h&&c[t]===c[o]&&c[++t]===c[o+1]){for(o+=2,t++;c[++o]===c[++t]&&c[++o]===c[++t]&&c[++o]===c[++t]&&c[++o]===c[++t]&&c[++o]===c[++t]&&c[++o]===c[++t]&&c[++o]===c[++t]&&c[++o]===c[++t]&&ou&&0!=--i);return a<=e.lookahead?a:e.lookahead}function L(e){var n,t,r,i,o,a,s,u,c,l=e.w_size;do{if(u=e.window_size-e.lookahead-e.strstart,e.strstart>=l+(l-b)){for(f.arraySet(e.window,e.window,l,l,0),e.match_start-=l,e.strstart-=l,e.block_start-=l,n=t=e.hash_size;r=e.head[--n],e.head[n]=l<=r?r-l:0,--t;);for(n=t=l;r=e.prev[--n],e.prev[n]=l<=r?r-l:0,--t;);u+=l}if(0===e.strm.avail_in)break;if(o=e.strm,a=e.window,s=e.strstart+e.lookahead,u=u,c=void 0,c=o.avail_in,t=0===(c=u=p)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<=p&&(e.ins_h=(e.ins_h<=p)if(r=u._tr_tally(e,e.strstart-e.match_start,e.match_length-p),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=p){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=p&&(e.ins_h=(e.ins_h<=p&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-p,r=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-p),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(L(e),0===e.lookahead&&n===c)return C;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+t;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,R(e,!1),0===e.strm.avail_out))return C;if(e.strstart-e.block_start>=e.w_size-b&&(R(e,!1),0===e.strm.avail_out))return C}return e.insert=0,n===l?(R(e,!0),0===e.strm.avail_out?S:x):(e.strstart>e.block_start&&(R(e,!1),e.strm.avail_out),C)}),new a(4,4,8,4,r),new a(4,5,16,8,r),new a(4,6,32,32,r),new a(4,4,16,16,i),new a(8,16,32,32,i),new a(8,16,128,128,i),new a(8,32,128,256,i),new a(32,128,258,1024,i),new a(32,258,258,4096,i)],n.deflateInit=function(e,n){return J(e,n,m,15,8,0)},n.deflateInit2=J,n.deflateReset=F,n.deflateResetKeep=P,n.deflateSetHeader=function(e,n){return!e||!e.state||2!==e.state.wrap?g:(e.state.gzhead=n,v)},n.deflate=function(e,n){var t,r,i,o;if(!e||!e.state||5>8&255),D(r,r.gzhead.time>>16&255),D(r,r.gzhead.time>>24&255),D(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),D(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(D(r,255&r.gzhead.extra.length),D(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=h(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(D(r,0),D(r,0),D(r,0),D(r,0),D(r,0),D(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),D(r,3),r.status=E)):(a=m+(r.w_bits-8<<4)<<8,a|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(a|=32),a+=31-a%31,r.status=E,O(r,a),0!==r.strstart&&(O(r,e.adler>>>16),O(r,65535&e.adler)),e.adler=1)),69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),A(e),i=r.pending,r.pending!==r.pending_buf_size));)D(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),A(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}}while(o=r.gzindexi&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),0===o&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),A(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}}while(o=r.gzindexi&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),0===o&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&A(e),r.pending+2<=r.pending_buf_size&&(D(r,255&e.adler),D(r,e.adler>>8&255),e.adler=0,r.status=E)):r.status=E),0!==r.pending){if(A(e),0===e.avail_out)return r.last_flush=-1,v}else if(0===e.avail_in&&k(n)<=k(t)&&n!==l)return I(e,-5);if(666===r.status&&0!==e.avail_in)return I(e,-5);if(0!==e.avail_in||0!==r.lookahead||n!==c&&666!==r.status){var a=2===r.strategy?function(e,n){for(var t;;){if(0===e.lookahead&&(L(e),0===e.lookahead)){if(n===c)return C;break}if(e.match_length=0,t=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(R(e,!1),0===e.strm.avail_out))return C}return e.insert=0,n===l?(R(e,!0),0===e.strm.avail_out?S:x):e.last_lit&&(R(e,!1),0===e.strm.avail_out)?C:T}(r,n):3===r.strategy?function(e,n){for(var t,r,i,o,a=e.window;;){if(e.lookahead<=y){if(L(e),e.lookahead<=y&&n===c)return C;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=p&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=p?(t=u._tr_tally(e,1,e.match_length-p),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(R(e,!1),0===e.strm.avail_out))return C}return e.insert=0,n===l?(R(e,!0),0===e.strm.avail_out?S:x):e.last_lit&&(R(e,!1),0===e.strm.avail_out)?C:T}(r,n):s[r.level].func(r,n);if(a!==S&&a!==x||(r.status=666),a===C||a===S)return 0===e.avail_out&&(r.last_flush=-1),v;if(a===T&&(1===n?u._tr_align(r):5!==n&&(u._tr_stored_block(r,0,0,!1),3===n)&&(M(r.head),0===r.lookahead)&&(r.strstart=0,r.block_start=0,r.insert=0),A(e),0===e.avail_out))return r.last_flush=-1,v}return n!==l||!(r.wrap<=0)&&(2===r.wrap?(D(r,255&e.adler),D(r,e.adler>>8&255),D(r,e.adler>>16&255),D(r,e.adler>>24&255),D(r,255&e.total_in),D(r,e.total_in>>8&255),D(r,e.total_in>>16&255),D(r,e.total_in>>24&255)):(O(r,e.adler>>>16),O(r,65535&e.adler)),A(e),0=t.w_size&&(0===o&&(M(t.head),t.strstart=0,t.block_start=0,t.insert=0),u=new f.Buf8(t.w_size),f.arraySet(u,n,c-t.w_size,t.w_size,0),n=u,c=t.w_size),u=e.avail_in,a=e.next_in,s=e.input,e.avail_in=c,e.next_in=0,e.input=n,L(t);t.lookahead>=p;){for(r=t.strstart,i=t.lookahead-(p-1);t.ins_h=(t.ins_h<>>7)]}function i(e,n){e.pending_buf[e.pending++]=255&n,e.pending_buf[e.pending++]=n>>>8&255}function F(e,n,t){e.bi_valid>r-t?(e.bi_buf|=n<>r-e.bi_valid,e.bi_valid+=t-r):(e.bi_buf|=n<>>=1,t<<=1,0<--n;);return t>>>1}function z(e,n,t){for(var r,i=new Array(I+1),o=0,a=1;a<=I;a++)i[a]=o=o+t[a-1]<<1;for(r=0;r<=n;r++){var s=e[2*r+1];0!==s&&(e[2*r]=V(i[s]++,s))}}function H(e){for(var n=0;n>1;1<=t;t--)B(e,o,t);for(i=u;t=e.heap[1],e.heap[1]=e.heap[e.heap_len--],B(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=t,e.heap[--e.heap_max]=r,o[2*i]=o[2*t]+o[2*r],e.depth[i]=(e.depth[t]>=e.depth[r]?e.depth[t]:e.depth[r])+1,o[2*t+1]=o[2*r+1]=i,e.heap[1]=i++,B(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1];for(var l,f,d,h,v,g=e,m=n.dyn_tree,p=n.max_code,y=n.stat_desc.static_tree,b=n.stat_desc.has_stree,w=n.stat_desc.extra_bits,E=n.stat_desc.extra_base,C=n.stat_desc.max_length,T=0,S=0;S<=I;S++)g.bl_count[S]=0;for(m[2*g.heap[g.heap_max]+1]=0,l=g.heap_max+1;l>=7;a>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return l;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return f;for(t=32;t>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=t+5,t+4<=i&&-1!==n)Q(e,n,t,r);else if(4===e.strategy||o===i)F(e,2+(r?1:0),3),q(e,S,k);else{F(e,4+(r?1:0),3);var s,u=e,n=e.l_desc.max_code+1,t=e.d_desc.max_code+1,c=a+1;for(F(u,n-257,5),F(u,t-1,5),F(u,c-4,4),s=0;s>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&n,e.pending_buf[e.l_buf+e.last_lit]=255&t,e.last_lit++,0===n?e.dyn_ltree[2*t]++:(e.matches++,n--,e.dyn_ltree[2*(A[t]+h+1)]++,e.dyn_dtree[2*P(n)]++),e.last_lit===e.lit_bufsize-1},e._tr_align=function(e){F(e,2,3),N(e,p,S),16===(e=e).bi_valid?(i(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":2}],9:[function(e,n,t){"use strict";n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[1])(1)}(),!function(n,e){"use strict";function t(e){var n=e.charCodeAt(0);return n<128?e:n<2048?l(192|n>>>6)+l(128|63&n):l(224|n>>>12&15)+l(128|n>>>6&63)+l(128|63&n)}function r(e){var n=[0,2,1][e.length%3],e=e.charCodeAt(0)<<16|(1>>18),u.charAt(e>>>12&63),2<=n?"=":u.charAt(e>>>6&63),1<=n?"=":u.charAt(63&e)].join("")}function i(e){return d(f(e))}function o(e,n){return n?i(e).replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}):i(e)}function a(e){return l(e.length<3?(31&e.charCodeAt(0))<<6|63&e.charCodeAt(1):(15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2))}function s(e){return e=e.replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""),g(h(e))}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(e){for(var n={},t=0,r=e.length;t>>16),l(n>>>8&255),l(255&n)];return e.length-=[0,0,2,1][t],e.join("")};e.Base64={atob:h,btoa:d,fromBase64:s,toBase64:o,bytesToBase64:function(e){for(var n,t="",r=0;r>2,t+=u.charAt(n),n=(3&e[r])<<4,r+1>4,t+=u.charAt(n),n=(15&e[r+1])<<2,r+2>6,t+=u.charAt(n),n=63&e[r+2],t+=u.charAt(n)):t=t+u.charAt(n)+"="):t=t+u.charAt(n)+"==";return t},utob:f,encode:o,encodeURI:function(e){return o(e,!0)},btou:g,decode:s}}("undefined"!=typeof window?window:self,void 0!==fe?fe:{}),void 0!==I&&(m=Jn(K)),Xn.prototype={toJSON:function(){if(this instanceof Xn)return Kn(this,this);throw new Error("Illegal invocation")}},P.prototype=(a=Object.create(Xn.prototype),P.prototype.constructor=P,a.toString=function(){return this.type},a.setExtraInfo=function(e,n){C.isUndefined(n)||(this.extraInfo[e]=n)},a.getExtraInfo=function(e){return C.isUndefined(this.extraInfo)||void 0===(e=this.extraInfo[e])?null:e},a.setDebugInfo=function(e){C.isUndefined(this.debugInfo)&&(this.debugInfo={}),this.debugInfo=e},a.getDebugInfo=function(){return this.debugInfo},a.getSubPage=function(){return this.subPage},a.addHybridActionDataItem=function(e,n){C.isUndefined(n)?logger.error("Failed setting value for hybrid action data item: "+e+". Value is undefined"):(C.isUndefined(this.hybridActionData)&&(this.hybridActionData={}),this.hybridActionData[e]=n)},a.getdHybridActionData=function(){return this.hybridActionData},a.nextId=1,a),P.fromJSON=function(e){return e.constructor=P,Object.setPrototypeOf(e,P.prototype),e},P.prototype.FOCUS_TIME_ATTR="focusTime",P.prototype.AUTO_COMPLETE_ATTR="autoComplete",P.prototype.VISUAL_NAME="visualName",P.prototype.PAGE_NAME="pageName",P.prototype.WINDOW_DEPTH="windowDepth",P.prototype.CONTAINER_ID="containerId",P.prototype.PARENT_PAGE_ID="parentPageId",P.prototype.HISTORY_LENGTH="historyLen",P.prototype.TIME_SINCE_LAST_EVENT="timeSinceLastIdle",P.prototype.COORDINATE_ATTR="coordinate",P.prototype.SCROLL_REACH="scrollReach",P.prototype.MOVES_TRUNCATED="truncated",P.prototype.LOST_EVENTS_NUM="lostEvents",P.prototype.TP_INTEGRATION_TYPE="tpIntegrationType",P.prototype.EXTERNAL_ID="externalId",P.prototype.SYNC_COORDINATE="syncCoordinates",P.prototype.RAGE_SEQUENCE="rageSequence",P.prototype.INDEX_IN_RAGE="indexInRage",P.prototype.ZOOM="zoom",P.prototype.MOBILE_HYBRID_ID="mobileHybridId",P.prototype.DETECTOR_CONFIG_ID="detectorCfg",P.prototype.AUTO_MASKING="autoMasking",P.prototype.SCROLL_DEBOUNCED="scrollDebounced",P.prototype.HOST_SELECTOR_PATH="hostSelectorPath",P.prototype.SNAPSHOT_FUSE="snapshotFuse",P.prototype.SNAPSHOT_TYPE="snapshotType",P.prototype.EFFECTIVE_CONNECTION_TYPE="ect",P.prototype.RTT="rtt",P.prototype.PROVIDER_NAME="providerName",P.prototype.METADATA_ONLY="MetaDataOnly",P.prototype.IS_FIRST_CLICK="isFirstClick",P.prototype.IS_CLICKABLE="isClickable",P.prototype.ABEVENTS="ABTestingEvents",P.prototype.IS_INPUT_ELEMENT="isInputElement",P.prototype.ORIENTATION="orientation",P.prototype.VISUAL_VIEWPORT="visualViewport",P.prototype.SELECTOR_ACTION_COUNT="selectorActionCount",P.prototype.EVENT_ID="eventId",P.prototype.DEBUG_UNCONFIRMED_BEACONS="unconfirmedBeacons",P.prototype.FINAL_CANCELLATION="finalCancellation",P.prototype.ABORT_ON_TIMEOUT="abortOnTimeout",P.prototype.DEBUG_STORAGE_PENDING="storagePendingBeacons",P.prototype.FAIL_REQUEST_STATUS="failedWithStatus",P.prototype.FAILED_STORAGE_FLUSH_BEACONS="failedStorageFlushBeacons",P.prototype.STORAGE_SIZE_EXCEED="storageSizeExceed",P.prototype.FAILED_SEND_FROM_STORAGE="failedSendFromStorage",P.prototype.SENDING_FROM_STORAGE="sendingFromStorage",P.prototype.RETRIED="failed",P.prototype.DEVTOOLS_VALUES="devToolsValues",P.prototype.DEBUG_PAGE_SN="pageSn",P.prototype.DEBUG_BROWSER_TAB_ID="browserTabId",P.prototype.USING_WORKER="usingWorker",P.prototype.NAVIGATION_TIMING="navigationTiming",P.prototype.CURRENT_VALUE="currentValue",P.prototype.OLD_VALUE="oldValue",P.prototype.ERROR_DATA="errorData",void 0!==m&&(P.prototype.extraInfoAttrs=[{name:P.prototype.FOCUS_TIME_ATTR,encodeName:"ft",encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.AUTO_COMPLETE_ATTR,encodeName:"ac",encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.VISUAL_NAME,encodeName:"vn",encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.PAGE_NAME,encodeName:P.prototype.PAGE_NAME,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.WINDOW_DEPTH,encodeName:P.prototype.WINDOW_DEPTH,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.CONTAINER_ID,encodeName:P.prototype.CONTAINER_ID,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.PARENT_PAGE_ID,encodeName:P.prototype.PARENT_PAGE_ID,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.HISTORY_LENGTH,encodeName:P.prototype.HISTORY_LENGTH,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.TIME_SINCE_LAST_EVENT,encodeName:"tl",encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.COORDINATE_ATTR,encodeName:"co",encodeFunc:m.encodeCoordinate64,encodeCode:le.dictionary.encodeEncodingType("cd_coordinate")},{name:P.prototype.SCROLL_REACH,encodeName:"sr",encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.MOVES_TRUNCATED,encodeName:"tr",encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.LOST_EVENTS_NUM,encodeName:"le",encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.TP_INTEGRATION_TYPE,encodeName:"tp",encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.EXTERNAL_ID,encodeName:"ei",encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.SYNC_COORDINATE,encodeName:"sy",encodeFunc:m.encodeCoordinate64,encodeCode:le.dictionary.encodeEncodingType("cd_coordinate")},{name:P.prototype.RAGE_SEQUENCE,encodeName:P.prototype.RAGE_SEQUENCE,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.INDEX_IN_RAGE,encodeName:P.prototype.INDEX_IN_RAGE,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.ZOOM,encodeName:"zo",encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.MOBILE_HYBRID_ID,encodeName:P.prototype.MOBILE_HYBRID_ID,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.DETECTOR_CONFIG_ID,encodeName:P.prototype.DETECTOR_CONFIG_ID,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.AUTO_MASKING,encodeName:P.prototype.AUTO_MASKING,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.SCROLL_DEBOUNCED,encodeName:P.prototype.SCROLL_DEBOUNCED,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.HOST_SELECTOR_PATH,encodeName:P.prototype.HOST_SELECTOR_PATH,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.SELECTOR_ACTION_COUNT,encodeName:P.prototype.SELECTOR_ACTION_COUNT,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.EVENT_ID,encodeName:P.prototype.EVENT_ID,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.DEBUG_UNCONFIRMED_BEACONS,encodeName:P.prototype.DEBUG_UNCONFIRMED_BEACONS,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.FINAL_CANCELLATION,encodeName:P.prototype.FINAL_CANCELLATION,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.ABORT_ON_TIMEOUT,encodeName:P.prototype.ABORT_ON_TIMEOUT,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.DEBUG_STORAGE_PENDING,encodeName:P.prototype.DEBUG_STORAGE_PENDING,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.FAIL_REQUEST_STATUS,encodeName:P.prototype.FAIL_REQUEST_STATUS,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.FAILED_STORAGE_FLUSH_BEACONS,encodeName:P.prototype.FAILED_STORAGE_FLUSH_BEACONS,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.STORAGE_SIZE_EXCEED,encodeName:P.prototype.STORAGE_SIZE_EXCEED,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.FAILED_SEND_FROM_STORAGE,encodeName:P.prototype.FAILED_SEND_FROM_STORAGE,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.SENDING_FROM_STORAGE,encodeName:P.prototype.SENDING_FROM_STORAGE,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.RETRIED,encodeName:P.prototype.RETRIED,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.DEVTOOLS_VALUES,encodeName:P.prototype.DEVTOOLS_VALUES,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.DEBUG_PAGE_SN,encodeName:P.prototype.DEBUG_PAGE_SN,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.DEBUG_BROWSER_TAB_ID,encodeName:P.prototype.DEBUG_BROWSER_TAB_ID,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.USING_WORKER,encodeName:P.prototype.USING_WORKER,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.NAVIGATION_TIMING,encodeName:P.prototype.NAVIGATION_TIMING,encodeFunc:fe.gbBind(m.encodeNavigationTiming,null,"_"),encodeCode:le.dictionary.encodeEncodingType("cd_navtiming")},{name:P.prototype.OLD_VALUE,encodeName:P.prototype.OLD_VALUE,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.CURRENT_VALUE,encodeName:P.prototype.CURRENT_VALUE,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.SNAPSHOT_FUSE,encodeName:P.prototype.SNAPSHOT_FUSE,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.SNAPSHOT_TYPE,encodeName:P.prototype.SNAPSHOT_TYPE,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.EFFECTIVE_CONNECTION_TYPE,encodeName:P.prototype.EFFECTIVE_CONNECTION_TYPE,encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.RTT,encodeName:P.prototype.RTT,encodeFunc:m.encodeNumber,encodeCode:le.dictionary.encodeEncodingType("cd_number")},{name:P.prototype.PROVIDER_NAME,encodeName:"pn",encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.ERROR_DATA,encodeName:"ed",encodeFunc:m.encodeString,encodeCode:le.dictionary.encodeEncodingType("cd_string")},{name:P.prototype.METADATA_ONLY,encodeName:P.prototype.METADATA_ONLY,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.IS_FIRST_CLICK,encodeName:P.prototype.IS_FIRST_CLICK,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.IS_CLICKABLE,encodeName:P.prototype.IS_CLICKABLE,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")},{name:P.prototype.ABEVENTS,encodeName:"AB",encodeFunc:m.encodeABTestingExtraInfo,encodeCode:le.dictionary.encodeEncodingType("cd_abtesting")},{name:P.prototype.IS_INPUT_ELEMENT,encodeName:P.prototype.IS_INPUT_ELEMENT,encodeFunc:m.encodeBoolean,encodeCode:le.dictionary.encodeEncodingType("cd_boolean")}]),Qn.prototype=(o=Object.create(Xn.prototype),Qn.prototype.constructor=Qn,o.toString=function(){return"EventSet {id:"+this.id+" Events:"+this.events.length+"}"},o),Qn.fromJSON=function(e){return e.constructor=Qn,Object.setPrototypeOf(e,Qn.prototype),e.events.forEach(function(e){P.fromJSON(e)}),e},Qn.reduceByMetadata=function(e){for(var n,t=1,r={},i=0;i ")}}catch(e){return logger.error("Failed extracting CSS selector. Error "+e.message,e),f.emit("clsDebug","Failed extracting CSS selector. Error: "+e.message),le.encoding.rootCssSelector}}}(window,Q,K.domIncludeCSSSelector),cn=new function(t,n,e,r,i,o){o=o||{};var a,s,u,c,l,f,d=0<(i.valueEncryptById||[]).length||0<(i.valueEncryptByClass||[]).length||0<(i.domEncryptById||[]).length||0<(i.domEncryptByClass||[]).length||i.valueEncryptionMode===le.censorMode.WhiteList,i=d&&!(!o.publicKey||!o.keyId),h=!1,v=!1,g=!1,m=[];function p(e){w(s=fe.Base64.bytesToBase64(new Uint8Array(e))),!g&&v&&b()}function y(e){m.push(e),w(),v&&m.length&&n.emit("clsDebug","Error: "+m.join(". Error: "))}function b(){e.set("hybrid.key",s),e.set("symmetric.key",fe.Base64.bytesToBase64(new Uint8Array(a))),e.set("public.key.hash",fe.hashcode(o.publicKey)),g=!0}function w(e){h||(fe.currentTimestamp(),h=!0,(s=e)&&(u=o.keyId+"_"+s),setTimeout(function(){n.emit("encryptionReady")},0))}if(i)try{fe.currentTimestamp(),c=e.get("symmetric.key"),l=e.get("hybrid.key"),f=""+fe.hashcode(o.publicKey)===e.get("public.key.hash"),c&&l&&f?(a=new Uint8Array(fe.strToBytes(fe.Base64.atob(c))),w(l),1):(n.once("init:loaded",function(){v=!0,!g&&a&&s&&b(),m.length&&n.emit("clsDebug","Error: "+m.join(". Error: "))}),function(){var e,n=r(t);if(n)return e=fe.strToBytes(fe.Base64.atob(o.publicKey)),a=new Uint8Array(16),n.getRandomValues(a),n.executeEncryptionFlow(e,a,p,y),1;y("Current browser does not support crypto interface.")}()&&setTimeout(function(){w()},o.timeout))}catch(e){y(e.message||"unknown exception during encryption")}else d?(y("encryption is not well configured"),console.error("[Glassbox-403]: Encryption configuration error: missing encryption key settings. Sensitive data might be recorded.")):w();this.isEncryptionConfigured=function(){return!!d},this.canUseEncryption=function(){return!!u&&!!(t.crypto&&(t.crypto.subtle||t.crypto.webkitSubtle)||t.msCrypto&&t.msCrypto.subtle)},this.getEncryptionKey=function(){return u?a:ce},this.getKeyInfo=function(){return u||ce},this.stringIsEncrypted=function(e){return fe.startsWith(e,le.encryptionPrefix)}}(window,Q,w,function(e){return e.crypto&&(e.crypto.subtle||e.crypto.webkitSubtle)?new ht(e):e.msCrypto&&e.msCrypto.subtle?new lt(e):null},K,{publicKey:K.encryptionPublicKey,keyId:K.encryptionKeyId,timeout:K.encryptionTimeout}),ln=(window,$e=cn,{censorValueOf:function(e){var n=$e.getEncryptionKey(),e=$e.AES_CBC.encrypt(new Uint8Array(fe.strToUTF8Bytes(e)),n,!0);return le.encryptionPrefix+fe.Base64.bytesToBase64(e,!0)+"_"},isAvailable:function(){return $e.canUseEncryption()}}),fn=new function(e,n){var o=n.handlers;function a(e){return o[e]=n.fallbackHandlers[e]||o[e],o[e]}this.censor=function(n,t){for(var e,r=n.value,i=0;ij.CHROME_PAYLOAD_LIMIT)}),j.isSupported=function(){return"function"==typeof navigator.sendBeacon},j.CHROME_PAYLOAD_LIMIT=61440,j.BEACON_ERROR_STATUS=400,St.prototype.open=function(e,n){-1===n.indexOf("://")&&(n=location.protocol+"//"+location.hostname+(n.startsWith("/")?"":"/")+n),this.xdr.open(e,n),this.readyState=XMLHttpRequest.OPENED,this.onreadystatechange&&this.onreadystatechange()},St.prototype.send=function(e){this.xdr.send(e),this.readyState=XMLHttpRequest.LOADING,this.onreadystatechange&&this.onreadystatechange()},St.prototype.setRequestHeader=function(){},St.prototype.getResponseHeader=function(){return null};var gn,mn,pn,yn,bn,wn,En,Cn,Tn,Sn,u,xn,In,kn,Mn,An,Rn,Dn,On,c,Ln,Pn=xt("undefined"!=typeof window?window:self,K.reportPreferSendBeaconAPI,K.clientAttributesEnabled||K.interceptThirdPartyAttributes,K.cordovaSdkReporting),l=(!function(e){var r,i,n=this&&this.__extends||(r=function(e,n){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,n){e.__proto__=n}:function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}))(e,n)},function(e,n){function t(){this.constructor=e}r(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),l=(i=Error,n(t,i),t);function t(){for(var e=[],n=0;n>>7);return r^=99}g=[],f=[],d=[[],[],[],[]],m=[[],[],[],[]];for(var i=0;i<256;i++){var o=r(i);g[i]=o,f[o]=i,d[0][i]=l(2,o)<<24|o<<16|o<<8|l(3,o),m[0][o]=l(14,i)<<24|l(9,i)<<16|l(13,i)<<8|l(11,i);for(var a=1;a<4;a++)d[a][i]=d[a-1][i]>>>8|d[a-1][i]<<24,m[a][o]=m[a-1][o]>>>8|m[a-1][o]<<24}p=!0}function e(e,n){p||r();var h=new Uint32Array(n);h.set(g,512),h.set(f,768);for(var t=0;t<4;t++)h.set(d[t],4096+1024*t>>2),h.set(m[t],8192+1024*t>>2);var v=function(e,n){"use asm";var m=0,p=0,y=0,b=0,v=0,g=0,w=0,E=0,i=0,o=0,a=0,s=0,u=0,c=0,l=0,f=0,C=0,T=0,S=0,x=0,d=0;var I=new e.Uint32Array(n),h=new e.Uint8Array(n);function k(e,n,t,r,i,o,a,s){e=e|0;n=n|0;t=t|0;r=r|0;i=i|0;o=o|0;a=a|0;s=s|0;var u=0,c=0,l=0,f=0,d=0,h=0,v=0,g=0;u=t|0x400,c=t|0x800,l=t|0xc00;i=i^I[(e|0)>>2],o=o^I[(e|4)>>2],a=a^I[(e|8)>>2],s=s^I[(e|12)>>2];for(g=16;(g|0)<=r<<4;g=g+16|0){f=I[(t|i>>22&1020)>>2]^I[(u|o>>14&1020)>>2]^I[(c|a>>6&1020)>>2]^I[(l|s<<2&1020)>>2]^I[(e|g|0)>>2],d=I[(t|o>>22&1020)>>2]^I[(u|a>>14&1020)>>2]^I[(c|s>>6&1020)>>2]^I[(l|i<<2&1020)>>2]^I[(e|g|4)>>2],h=I[(t|a>>22&1020)>>2]^I[(u|s>>14&1020)>>2]^I[(c|i>>6&1020)>>2]^I[(l|o<<2&1020)>>2]^I[(e|g|8)>>2],v=I[(t|s>>22&1020)>>2]^I[(u|i>>14&1020)>>2]^I[(c|o>>6&1020)>>2]^I[(l|a<<2&1020)>>2]^I[(e|g|12)>>2];i=f,o=d,a=h,s=v}m=I[(n|i>>22&1020)>>2]<<24^I[(n|o>>14&1020)>>2]<<16^I[(n|a>>6&1020)>>2]<<8^I[(n|s<<2&1020)>>2]^I[(e|g|0)>>2],p=I[(n|o>>22&1020)>>2]<<24^I[(n|a>>14&1020)>>2]<<16^I[(n|s>>6&1020)>>2]<<8^I[(n|i<<2&1020)>>2]^I[(e|g|4)>>2],y=I[(n|a>>22&1020)>>2]<<24^I[(n|s>>14&1020)>>2]<<16^I[(n|i>>6&1020)>>2]<<8^I[(n|o<<2&1020)>>2]^I[(e|g|8)>>2],b=I[(n|s>>22&1020)>>2]<<24^I[(n|i>>14&1020)>>2]<<16^I[(n|o>>6&1020)>>2]<<8^I[(n|a<<2&1020)>>2]^I[(e|g|12)>>2]}function M(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;k(0x0000,0x0800,0x1000,d,e,n,t,r)}function A(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;var i=0;k(0x0400,0x0c00,0x2000,d,e,r,t,n);i=p,p=b,b=i}function R(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;k(0x0000,0x0800,0x1000,d,v^e,g^n,w^t,E^r);v=m,g=p,w=y,E=b}function D(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;var i=0;k(0x0400,0x0c00,0x2000,d,e,r,t,n);i=p,p=b,b=i;m=m^v,p=p^g,y=y^w,b=b^E;v=e,g=n,w=t,E=r}function O(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;k(0x0000,0x0800,0x1000,d,v,g,w,E);v=m=m^e,g=p=p^n,w=y=y^t,E=b=b^r}function L(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;k(0x0000,0x0800,0x1000,d,v,g,w,E);m=m^e,p=p^n,y=y^t,b=b^r;v=e,g=n,w=t,E=r}function P(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;k(0x0000,0x0800,0x1000,d,v,g,w,E);v=m,g=p,w=y,E=b;m=m^e,p=p^n,y=y^t,b=b^r}function F(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;k(0x0000,0x0800,0x1000,d,i,o,a,s);s=~f&s|f&s+1;a=~l&a|l&a+((s|0)==0);o=~c&o|c&o+((a|0)==0);i=~u&i|u&i+((o|0)==0);m=m^e;p=p^n;y=y^t;b=b^r}function N(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;var i=0,o=0,a=0,s=0,u=0,c=0,l=0,f=0,d=0,h=0;e=e^v,n=n^g,t=t^w,r=r^E;i=C|0,o=T|0,a=S|0,s=x|0;for(;(d|0)<128;d=d+1|0){if(i>>>31)u=u^e,c=c^n,l=l^t,f=f^r;i=i<<1|o>>>31,o=o<<1|a>>>31,a=a<<1|s>>>31,s=s<<1;h=r&1;r=r>>>1|t<<31,t=t>>>1|n<<31,n=n>>>1|e<<31,e=e>>>1;if(h)e=e^0xe1000000}v=u,g=c,w=l,E=f}function t(e){e=e|0;d=e}function B(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;m=e,p=n,y=t,b=r}function _(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;v=e,g=n,w=t,E=r}function j(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;i=e,o=n,a=t,s=r}function U(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;u=e,c=n,l=t,f=r}function V(e,n,t,r){e=e|0;n=n|0;t=t|0;r=r|0;s=~f&s|f&r,a=~l&a|l&t,o=~c&o|c&n,i=~u&i|u&e}function r(e){e=e|0;if(e&15)return-1;h[e|0]=m>>>24,h[e|1]=m>>>16&255,h[e|2]=m>>>8&255,h[e|3]=m&255,h[e|4]=p>>>24,h[e|5]=p>>>16&255,h[e|6]=p>>>8&255,h[e|7]=p&255,h[e|8]=y>>>24,h[e|9]=y>>>16&255,h[e|10]=y>>>8&255,h[e|11]=y&255,h[e|12]=b>>>24,h[e|13]=b>>>16&255,h[e|14]=b>>>8&255,h[e|15]=b&255;return 16}function z(e){e=e|0;if(e&15)return-1;h[e|0]=v>>>24,h[e|1]=v>>>16&255,h[e|2]=v>>>8&255,h[e|3]=v&255,h[e|4]=g>>>24,h[e|5]=g>>>16&255,h[e|6]=g>>>8&255,h[e|7]=g&255,h[e|8]=w>>>24,h[e|9]=w>>>16&255,h[e|10]=w>>>8&255,h[e|11]=w&255,h[e|12]=E>>>24,h[e|13]=E>>>16&255,h[e|14]=E>>>8&255,h[e|15]=E&255;return 16}function H(){M(0,0,0,0);C=m,T=p,S=y,x=b}function W(e,n,t){e=e|0;n=n|0;t=t|0;var r=0;if(n&15)return-1;while((t|0)>=16){q[e&7](h[n|0]<<24|h[n|1]<<16|h[n|2]<<8|h[n|3],h[n|4]<<24|h[n|5]<<16|h[n|6]<<8|h[n|7],h[n|8]<<24|h[n|9]<<16|h[n|10]<<8|h[n|11],h[n|12]<<24|h[n|13]<<16|h[n|14]<<8|h[n|15]);h[n|0]=m>>>24,h[n|1]=m>>>16&255,h[n|2]=m>>>8&255,h[n|3]=m&255,h[n|4]=p>>>24,h[n|5]=p>>>16&255,h[n|6]=p>>>8&255,h[n|7]=p&255,h[n|8]=y>>>24,h[n|9]=y>>>16&255,h[n|10]=y>>>8&255,h[n|11]=y&255,h[n|12]=b>>>24,h[n|13]=b>>>16&255,h[n|14]=b>>>8&255,h[n|15]=b&255;r=r+16|0,n=n+16|0,t=t-16|0}return r|0}function G(e,n,t){e=e|0;n=n|0;t=t|0;var r=0;if(n&15)return-1;while((t|0)>=16){J[e&1](h[n|0]<<24|h[n|1]<<16|h[n|2]<<8|h[n|3],h[n|4]<<24|h[n|5]<<16|h[n|6]<<8|h[n|7],h[n|8]<<24|h[n|9]<<16|h[n|10]<<8|h[n|11],h[n|12]<<24|h[n|13]<<16|h[n|14]<<8|h[n|15]);r=r+16|0,n=n+16|0,t=t-16|0}return r|0}var q=[M,A,R,D,O,L,P,F];var J=[R,N];return{set_rounds:t,set_state:B,set_iv:_,set_nonce:j,set_mask:U,set_counter:V,get_state:r,get_iv:z,gcm_init:H,cipher:W,mac:G}}({Uint8Array:Uint8Array,Uint32Array:Uint32Array},n);return v.set_key=function(e,n,t,r,i,o,a,s,u){var c=h.subarray(0,60);h.subarray(256,316),c.set([n,t,r,i,o,a,s,u]);for(var l=e,f=1;l<4*e+28;l++){var d=c[l-1];(l%e==0||8===e&&l%e==4)&&(d=g[d>>>24]<<24^g[d>>>16&255]<<16^g[d>>>8&255]<<8^g[255&d]),l%e==0&&(d=d<<8^d>>>24^f<<24,f=f<<1^(128&f?27:0)),c[l]=c[l-e]^d}v.set_rounds(e+5)},v}return e.ENC={ECB:0,CBC:2,CFB:4,OFB:6,CTR:7},e.MAC={CBC:0,GCM:1},e.HEAP_DATA=16384,e}(),o=(a.prototype.AES_Encrypt_process=function(e){if(!(e instanceof Uint8Array))throw new TypeError("data isn't of expected type");for(var n,t,r,i,o=this.asm,a=this.heap,s=g.ENC[this.mode],u=g.HEAP_DATA,c=this.pos,l=this.len,f=0,d=e.length||0,h=0,v=new Uint8Array(l+d&-16);0>2,i.getUint32(0),i.getUint32(4),i.getUint32(8),i.getUint32(12),16r.spaLoadTimeLimit?(n.emit("clsDebug","Error: SPA load time exceed "+r.spaLoadTimeLimit+" milliseconds, SPA load time:"+s),-1):s):-1}}(Q,he,{recordSpaLoadTime:K.recordSpaLoadTime,spaLoadTimeLimit:K.spaLoadTimeLimit,interceptAjax:K.interceptAjax,framesetRecordEnabled:K.framesetRecordEnabled,htmlObjectRecordEnabled:K.htmlObjectRecordEnabled}),dn,fe.getPageTitle(),{ignoreWhenLocationContains:K.segmentationIgnoreWhenLocationContains,decodeUri:K.decodeUri,waitForSegmentRender:K.waitForSegmentRender,waitForSegmentTitle:K.waitForSegmentTitle,sendSegmentTitle:K.sendSegmentTitle,captureQueryStringParamsOnSegmentChange:K.captureQueryStringParamsOnSegmentChange,segmentationAlwaysSendTitleChange:K.segmentationAlwaysSendTitleChange}),botDetector:new function(t,n,i,o,logger){var a="bot.nh",s="bot.d",u={CLICKS_WITH_NO_MOUSE_MOVES:{code:"1",active:!0},NOT_TRUSTED_MOUSEEVENT:{code:"3",active:!0},INVALID_NAVIGATION_API_VALUES:{code:"4",active:!0},MOVE_AND_CLICK_SAME_COORDINATES_AND_TIMES:{code:"5",active:!0}},c={MANY_MOUSE_MOVES_BETWEEN_CLICKS:{code:"-1",active:!0}},l=!1,f=!1,d=null,h=null,v=0,g=100,m=0,p={robot:!1,human:!1},r=!1;function y(){e("mousemove",b),e("click",w),r=!1}function b(e){return l||(h=o.getCoordinate(e),v=o.currentTimestamp()),f&&m++,l=!0}function w(e){var n,t,r;return e.type===le.mouseEvents.down&&(r=e).type===le.mouseEvents.down&&(f=!0,n=o.getCoordinate(r),null!==d?c.MANY_MOUSE_MOVES_BETWEEN_CLICKS.active&&!o.isSameCoordinates(n,d)?10<=m&&((t=c.MANY_MOUSE_MOVES_BETWEEN_CLICKS).code,p.human=!0,i.set(s,t.code),y()):u.CLICKS_WITH_NO_MOUSE_MOVES.active&&o.isCoordinatesDistLargerThan(n,d,10)&&0===m&&E(u.CLICKS_WITH_NO_MOUSE_MOVES):l&&(t=r,u.MOVE_AND_CLICK_SAME_COORDINATES_AND_TIMES.active)&&(t=o.getCoordinate(t),null!==h)&&o.isSameCoordinates(t,h)&&o.currentTimestamp()-vK.minDragPixels||r.elPosition&&r.elPosition.right&&Math.abs(parseInt(r.elPosition.right,10)-(parseInt(t.elPosition.right,10)||0))>K.minDragPixels||r.elPosition&&r.elPosition.top&&Math.abs(parseInt(r.elPosition.top,10)-(parseInt(t.elPosition.top,10)||0))>K.minDragPixels||r.elPosition&&r.elPosition.bottom&&Math.abs(parseInt(r.elPosition.bottom,10)-(parseInt(t.elPosition.bottom,10)||0))>K.minDragPixels,o=K.recordSwipe&&fe.isMobile()&&!i&&"touchend"===e.type&&t&&Math.abs(r.coordinate.x-t.coordinate.x)>K.minDragPixels&&Math.abs(r.coordinate.y-t.coordinate.y)<20;if(i||o)e.extraInfo.visualName&&delete e.extraInfo.visualName,Y.handleDrag(e,t,r,o),n=!0;else if(t){if(fe.isMobile()&&t){var i=Math.abs(r.coordinate.x-t.coordinate.x),o=Math.abs(r.coordinate.y-t.coordinate.y);if(i>K.minDragPixels||o>K.minDragPixels)return!1}e.type=Y.state.clickStartType,(e.value=t).el&&(r=t.el.className||(t.el.parentElement?t.el.parentElement.className:""),Y.state.toggleClick?(fe.arrayValueContainedInString(K.ignoreDomUpdateOnClickClassList,r.animVal||r)&&(e.skipMutation=!0),Y.state.toggleClick=!1):e.timestamp=t.timestamp,fe.arrayValueContainedInString(K.toggleTimestampOnClickClassList,r.animVal||r)&&(Y.state.toggleClick=!0),fe.isAttachedToDOM(t.el)&&(!t.isVisible||fe.isElementShown(t.el))||(e.elementRemoved=!0)),e.selectorExpression=t.selector,e.element=t.el,e.setExtraInfo(P.prototype.COORDINATE_ATTR,Y.state.clickStart.coordinate),e.setExtraInfo(P.prototype.IS_FIRST_CLICK,!Y.firstClickFired),Y.firstClickFired||(Y.firstClickFired=!0),e.setExtraInfo(P.prototype.IS_CLICKABLE,fe.isClickable(e.element)),C.isUndefined(e.element)||(i=fe.getElementXYCoordinates(e.element))&&e.setExtraInfo(P.prototype.SYNC_COORDINATE,i),fe.isHybrid()&&e.addHybridActionDataItem("start",{x:Y.state.clickStart.coordinate.x,y:Y.state.clickStart.coordinate.y}),t.extraInfo.visualName&&e.setExtraInfo(P.prototype.VISUAL_NAME,t.extraInfo.visualName);o="rightclick"===Y.state.clickStartType?"rightclick":"event:click";Q.emit(o,e),e.rageSequence&&e.indexInRage&&(e.setExtraInfo(P.prototype.RAGE_SEQUENCE,e.rageSequence),e.setExtraInfo(P.prototype.INDEX_IN_RAGE,e.indexInRage)),n=!0}return Y.state.clickStart=ce,Y.state.clickStartType=ce,n},interceptDragStart:function(e){return Y.state.clickStart=Y.createClickDetailsObject(e),!(Y.state.clickStartType="mousedown")},interceptDragEnd:function(e){var n=Y.state.clickStart,t=Y.createClickDetailsObject(e);return Y.handleDrag(e,n,t,!1),!0},handleDrag:function(e,n,t,r){var i={duration:n.timestamp?t.timestamp-n.timestamp:-1,start:n.coordinate,end:t.coordinate};e.type=r?"swipe":"drag",e.value=i,r||C.isUndefined(e.element)||(i=fe.getElementXYCoordinates(n.el))&&e.setExtraInfo(P.prototype.SYNC_COORDINATE,i),fe.isHybrid()&&(e.addHybridActionDataItem("start",{x:n.coordinate.x,y:n.coordinate.y}),e.addHybridActionDataItem("end",{x:t.coordinate.x,y:t.coordinate.y}))},interceptPagehide:function(e){Y.isUnloaded||Y.interceptUnload(e)},interceptUnload:function(e){Y.isPerformanceEventSent||window.performance&&window.performance.timing&&window.performance.timing&&"number"==typeof window.performance.timing.loadEventEnd&&(0!==window.performance.timing.loadEventEnd?(n=fe.currentTimestamp()-Y.page.initializationTimestamp,Y.savePerformanceEvent(n),Y.isPerformanceEventSent=!0,Q.emit("clsDebug","Send performance event before unload")):Q.emit("clsDebug","Performance event could not be sent, the page did not finish loading")),Y.isUnloaded=!0;fe.time("unload");var n=performance.now()-Y.page.timing.contentInteractiveTime,n=(Y.page.timing.contentInteractiveTime&&n<5e3&&Y.saveClsDebugErrorEvent("detector.js",{name:"fast unload",message:"Unload happened at "+n/1e3+" second"},""),Y.state.unloading=!0,Y.segmentManager.onUnload(),fe.currentTimestamp()),t=(Y.page.hasTimingAPI||Fn.set("lastReferrer",m.encodeNumber(n)+"_"+fe.Base64.encode(Y.page.urlWithoutHash)),n-Y.page.initializationTimestamp);return e.setExtraInfo(e.FOCUS_TIME_ATTR,t),e.setExtraInfo(e.SCROLL_REACH,Math.round(Y.state.maxScrollReach)),Y.debugHelper.visitUnloadEvent(e),fe.timeEnd("unload"),e.timestamp=n,K.passTabIdViaWinName&&Fn.get("btabid")&&(window.name?Y.saveClsDebugErrorEvent("detector.js",{name:"tabId",message:"window.name was already in use by someone else on this website"},""):window.name="gb.btabid="+Fn.get("btabid")+";cls_s="+Y.sessionId+";referrer="+ue.location.host),!0},interceptVisibilityChange:function(e){!fe.isSafari()&&!fe.isMobile()||"hidden"!==ue.visibilityState||Y.isUnloaded?Y.state.unloading=!1:Y.interceptUnload(e),fe.isSafari()&&Y.state.visibilityChanges.push({visibility:ue.visibilityState,timestamp:fe.currentTimestamp()}),Y.isUnloaded=!1},updateScrollReach:function(e){e=e&&"ionScroll"===e.binding.type?fe.getCurrentScrollReach(e.domEvent.detail):fe.getCurrentScrollReach();e&&(Y.state.maxScrollReach=Math.max(Y.state.maxScrollReach,e))},interceptScroll:function(e){return"ionScroll"!==e.binding.type&&"#document"!==e.element.nodeName||Y.updateScrollReach(e),!0},updateScrollReachValues:function(e){e.value&&e.value.top&&(Y.scrollReach.height=e.value.height,Y.scrollReach.top=Math.max(Y.scrollReach.top,e.value.top),Y.scrollReach.domElementsCount=e.value.domElementsCount)},simulateScrollReach:function(){var e;ue.documentElement&&0<=ue.documentElement.scrollTop&&0<=ue.documentElement.scrollHeight&&((e=Y.createEventObject("scrollReach",fe.currentTimestamp(),ue)).value={top:ue.documentElement.scrollTop,height:ue.documentElement.scrollHeight,domElementsCount:ue.getElementsByTagName("*").length,innerHeight:window.innerHeight,isInfinite:Y.scrollReach.isInfinite},Y.updateScrollReachValues(e),Y.shouldReportScrollReach(e))&&Y.saveEvent(e)},shouldReportScrollReach:function(e){return!(K.disableScrollReachForIframes&&window.frameElement&&window.frameElement._gbInjected||!e.value.top&&0!==e.value.top||!(Y.scrollReach.height!==e.value.height||Y.scrollReach.topK.scrollReachMaxTop&&Q.emit("clsDebug","scroll reach top value exceeded, top value = "+Y.scrollReach.top),Y.updateScrollReachValues(e),0))},interceptScrollReach:function(e){var n=!1;return e.value&&"#document"===e.element.nodeName&&(!Y.scrollReach.isInfinite&&fe.isInfiniteScrollDetected(Y,e)?(Y.scrollReach.isInfinite=!0,Y.updateScrollReachValues(e),n=!0):Y.shouldReportScrollReach(e)&&(n=!0),e.value.isInfinite=Y.scrollReach.isInfinite),n},filterScrollElements:function(e){return!(null!=e&&"MARQUEE"!==e.nodeName)},interceptMouseMove:function(e){return e.lastSingleMoveTimestamp=e.timestamp,e.setExtraInfo(e.FOCUS_TIME_ATTR,0),!0},createClickDetailsObject:function(e){var n={coordinate:fe.getCoordinate(e.domEvent),el:e.element,selector:e.selectorExpression,timestamp:e.timestamp,extraInfo:e.extraInfo,isVisible:fe.isElementShown(e.element)};return fe.isMobile()&&(n.elPosition={left:e.element.style?e.element.style.left:"",right:e.element.style?e.element.style.right:"",top:e.element.style?e.element.style.top:"",bottom:e.element.style?e.element.style.bottom:""}),n},shouldListenToKeyEvents:function(){return K.recordEnterForInputs||Y.recordAutoCompleteRelatedChars()},recordAutoCompleteRelatedChars:function(){return void 0===Y.acCharsSupport&&(Y.acCharsSupport=K.recordTypingAll||K.supportNativeAutoComplete||K.recordTypingForAttrs&&0?@\[\] ^_`{|}~-]$/i.test(e)},interceptKeyboard:function(e){var n=e.element;if(n&&("INPUT"===n.nodeName||"TEXTAREA"===n.nodeName||"BUTTON"===n.nodeName||"SELECT"===n.nodeName)){var t,r=e.domEvent.keyCode||e.domEvent.charCode,i=13===r||9===r;if(e.shouldEncodeValue=!1,Y.shouldRecordTypedChar(e.element,K.replayTypingBySelector)&&Y.isPrintableChar(e.domEvent.key,r))return r=Y.resolveKeyData(e),Y.savePageUpdate(),r;if(i&&K.recordEnterForInputs)return Y.resolveKeyData(e);if(K.supportNativeAutoComplete&&(n.hasAttribute("autocomplete")||n.hasAttribute("aria-autocomplete")&&"none"!==n.getAttribute("aria-autocomplete")||n.hasAttribute("class")&&fe.hasClassName(n,"autocomplete")))return Y.resolveKeyData(e);if(K.recordTypingAll)return Y.resolveKeyData(e);if(K.recordTypingForAttrs&&0=K.clsDebugMaxReports)return"";Y.state.clsDebugCounter++;n=n?n.stack||n.name+": "+n.message:"";return"CLSDEBUG: "+e+" "+(t?"{"+t+"} ":"")+(0<(n=fe.truncateStr(n,K.clsDebugCharsLimit,!0)).length?": "+n:"")},previousValidationErrorData:{message:"",element:{_gbid:""}},saveValidationError:function(e){var n;fe.isDuplicateError(e)||(K.maskFormValidationErrors&&(e.message=de.censorValueOf(e.message,null,K.formValidationMaskingChar,null)),n=e.message,-1!==K.errorMessageMaxSize&&(e.message=fe.trimToSizeInBytes(n,K.errorMessageMaxSize)),(n=Y.createEventObject("formValidationError",fe.currentTimestamp(),null)).element=e.element,n.value=e.message,Y.assignSelectorInfo(e.element,n),(e=Y.extractVisualName(e.element))&&n.setExtraInfo(P.prototype.VISUAL_NAME,e),Y.saveEvent(n))},saveHoverEvent:function(){var e=Y.createEventObject("hover",Y.state.hover.hoverStartTimestamp,null);if(0===Y.state.hover.hoverElementList.length)K.mhDebug;else{K.mhDebug&&Y.state.hover.hoverElementList.length;var n=Y.state.hover.hoverElementList;Y.cleanHoverElements();for(var t,r={},i=[],o=n.length-1;0<=o;o--)if(t=n[o],r[t=sn.getSelectorInfo(t).selector||le.encoding.rootSelector])K.mhDebug;else if(r[t]=!0,i.push(t),i.length>=K.mhMaxListSize){K.mhDebug;break}e.value=n,e.shouldEncodeValue=!1,Y.saveEvent(e)}},saveCustomEvent:function(e){Y.canRecordCustomEvents&&Y.handleCustomEvent("custom",e)},saveCustomMapEvent:function(e){Y.canRecordCustomEvents&&Y.handleCustomEvent("customMap",e)},handleCustomEvent:function(e,n){e=Y.createEventObject(e,fe.currentTimestamp(),null);e.value=n,!C.isUndefined(n.domEl)&&fe.isDOMElement(n.domEl)&&(e.element=n.domEl,Y.assignSelectorInfo(n.domEl,e)),e.shouldEncodeValue=!1,Y.saveEvent(e)},saveThirdPartyMapEvent:function(e){var n;Y.canRecordCustomEvents&&((n=Y.createEventObject("thirdpartymap",fe.currentTimestamp(),null)).value=e.value,e.type&&n.setExtraInfo(P.prototype.TP_INTEGRATION_TYPE,e.type),e.element&&(n.element=e.element,Y.assignSelectorInfo(e.element,n)),n.shouldEncodeValue=!1,Y.saveEvent(n))},saveDataLayerMapEvent:function(e){var n=Y.createEventObject("dataLayerMap",fe.currentTimestamp(),null);n.value=e.value,n.shouldEncodeValue=!1,Y.saveEvent(n)},saveThirdPartyAttributeEvent:function(e){var n=Y.createEventObject("thirdPartyAttribute",fe.currentTimestamp(),null);n.value=e,n.shouldEncodeValue=!1,Y.saveEvent(n)},onDomFuseBlown:function(e){Y.page.snapshotEmitted||(Y.page.snapshotFuseData=e)},onPageNameResolved:function(e){Y.page.name=e},saveABTesting:function(e){for(var n=Y.createEventObject("abTesting",fe.currentTimestamp(),null),t=0;tK.minStallingScrollTime||(t.selectorExpression=n.selectorExpression,K.scrollDebug&&n.type,0)):!("mousemove"!==n.type||1!==n.value.length||!e||"scroll"!==e.type||t.timestamp-e.timestamp>K.minStallingScrollTime||(K.scrollDebug,0));if("mousemove"===t.type&&"mousemove"!==n.type)return!0;var r;if("mousemove"===t.type&&"mousemove"===n.type)return e=K.reportByPost?3e3:K.mmMaxMovesInEventWithTimes,r=K.reportByPost?3e3:K.mmMaxMovesInEventNoTimes,K.mmRecordTimes&&n.value.length>=e||!K.mmRecordTimes&&n.value.length>=r?(K.mmDebug&&n.value.length,_.inMemoryMovesCounter++,!1):!C.isUndefined(K.mmMinStallingMoveTime)&&t.timestamp-n.lastSingleMoveTimestamp>K.mmMinStallingMoveTime?(K.mmDebug&&(t.timestamp,n.lastSingleMoveTimestamp),_.inMemoryMovesCounter++,!1):(_.checkExceededInMemoryMoves()?K.mmDebug&&K.mmMaxInMemoryMoves:_.diluteMoveEvents(n,t)&&_.inMemoryMovesCounter++,!0)}return"mousemove"===t.type&&(_.inMemoryMovesCounter++,!0)},checkExceededInMemoryMoves:function(){var e=K.reportByPost?3e3:K.mmMaxInMemoryMoves;return _.inMemoryMovesCounter>=e},diluteMoveEvents:function(e,n){var t=C.last(e.value),r=n.value[0],i=n.timestamp-e.lastSingleMoveTimestamp,o=e.getExtraInfo(e.FOCUS_TIME_ATTR);return Math.abs(t.x-r.x)>K.mmDiluteMinPixels||Math.abs(t.y-r.y)>K.mmDiluteMinPixels?(r.t=i,n.setExtraInfo(n.FOCUS_TIME_ATTR,o+=i),n.timestamp=e.timestamp,e.value.push(r),n.value=e.value,K.mmDebug&&n.value,!0):(n.setExtraInfo(n.FOCUS_TIME_ATTR,o),n.timestamp=e.timestamp,n.value=e.value,n.lastSingleMoveTimestamp=e.lastSingleMoveTimestamp,K.mmDebug&&K.mmDiluteMinPixels,!1)},truncateEventsForUnload:function(e){for(var n=[],t=K.mmMaxMovesWithUnload,r=0,i=!1,o=0;o=K.mmMaxMovesWithUnload){K.mmMaxMovesWithUnload,i=!0;continue}var s=a.value.length,u=_.truncateMouseMoveEvent(a,t-r);r+=u,uthis.MAX_DEPTH_THRESHOLD?(this.MAX_DEPTH_THRESHOLD,-1):n},isCrossOriginFrame:function(e,n){try{var t,r;return e.contentWindow?"about:blank"!==(t="OBJECT"===e.tagName?e.getAttribute("data"):e.getAttribute("src"))&&!!t&&!!(r=fe.extractOrigin(t))&&n!==r:!0}catch(e){return!0}},isEmpty:function(e){return!(e.contentDocument&&e.contentDocument.body.hasChildNodes())},logError:function(){var e=Array.prototype.slice.call(arguments);return"string"==typeof e[0]&&(e[0]="[frame.debug] "+(Cn?"FRAME ("+wn.location.href+")":"TOP")+" "+e[0]),En?console.log.apply(console,e):logger.error(e)},logDebug:function(){var e=Array.prototype.slice.call(arguments);return"string"==typeof e[0]&&(e[0]="[frame.debug] "+(Cn?"FRAME ("+wn.location.href+")":"TOP")+" "+e[0]),En&&logger.log(e)}}),_n={hidden:function(e,n){var t=e,r=0;if(0===n)return"none"===getComputedStyle(t).display||"hidden"===getComputedStyle(t).visibility;for(;t&&t!==ue&&r<=n;){if("none"===getComputedStyle(t).display||"hidden"===getComputedStyle(t).visibility)return!0;r++,t=fe.parentNode(t)}return!1}};void 0!==Y&&K.recordOrientation&&"ontouchstart"in window&&Y.registerPlugin("mobileEventsPlugin",new function(t,e,n,r,i,o){var a=this;this._mql=t.matchMedia?t.matchMedia("(orientation: portrait)"):ce,this._orientation=this._mql?this._mql.matches?0:90:ce,this._snapshotCompleted=!1,this._getOrientedDeviceWidth=function(){var e=a._setOrientation(),n=Math.max(screen.width,screen.height),t=Math.min(screen.width,screen.height);return e?n:t},this._setOrientation=function(){return a._mql?a._orientation=a._mql.matches?0:90:t&&t.orientation!==ce?a._orientation=90===Math.abs(t.orientation)?90:0:screen&&screen.orientation&&screen.orientation.type!==ce?a._orientation=0===screen.orientation.type.indexOf("landscape")?90:0:a._orientation=e.documentElement.clientHeight>e.documentElement.clientWidth?0:90,a._orientation},this._checkForOrientationChange=function(e){e!==ce&&e!==a._orientation&&(o.orientation=a._orientation,o.tilted=!0)},this._onOrientationChange=function(){var e=a._orientation;a._setOrientation(),a._checkForOrientationChange(e)},this._zoomDirection=function(e,n){return e===n?"NA":ns.maxAjaxDownloadTime&&(e.downTime=1990),c(r,"d",u(e.downTime)),c(r,"upa","1")):e.startedAt&&e.endedAt&&(t=e.endedAt-e.startedAt,c(r,"d",u(t=-1!==s.maxAjaxDownloadTime&&t>s.maxAjaxDownloadTime?1990:t)),c(r,"upa","0")),c(r,"s",u(e.status)),e.statusText&&c(r,"st",fe.Base64.encode(e.statusText)),e.requestHeaders&&c(r,"rqh",fe.Base64.encode(e.requestHeaders)),e.requestContent&&c(r,"rqc",fe.Base64.encode(e.requestContent)),e.responseHeaders&&(s.ajaxResBodyOctetTypeFix&&-1e.window.height?"h":"v")),n.push("ws_"+t(e.window)),n.push("sc_"+t(e.screen)),n.join("*");e.orientation},encodeZoom:function(e){return["s_"+u(Math.floor(1e3*e.visualViewport.scale)),"ol_"+u(Math.round(e.visualViewport.offsetLeft)),"ot_"+u(Math.round(e.visualViewport.offsetTop)),"pl_"+u(Math.round(e.visualViewport.pageLeft)),"pt_"+u(Math.round(e.visualViewport.pageTop)),"w_"+u(Math.round(e.visualViewport.width)),"h_"+u(Math.round(e.visualViewport.height)),"d_"+{IN:1,OUT:2,NA:"0"}[e.direction]].join("*")},encodeBoolean:i,encodeString:a,encodeCoordinate:n,encodeCoordinate64:function(e){return fe.Base64.encode(n(e))},encodeHashCode:o,encodeNavigationTiming:f}}function Xn(){}function Kn(e,n){if(!e)return e;if("object"!=typeof e)return e;var t,r,i={};for(t in e)e.hasOwnProperty(t)&&"function"!=(r=typeof e[t])&&("object"==r?null===e[t]||e[t].addEventListener||e[t].attachEvent||e[t].hasOwnProperty&&(Array.isArray(e[t])?i[t]=e[t].map(Kn):i[t]=Kn(e[t],n)):i[t]=e[t]);return i}function P(e,n,t,r,i){Xn.call(this),this.pageId=r,this.timestamp=n,this.type=e,this.element=t,this.report=!0,this.shouldEncodeValue=!0,this.subPage=fe.decodeUri(K.decodeUri,window.location.hash),this.referrer=i||fe.stripHash(fe.decodeUri(K.decodeUri,window.location.href)),this.id=P.prototype.nextId++,this.extraInfo={eventId:this.id}}function Qn(e,n){Xn.call(this),this.id=e,this.metadata=n,this.events=[]}function Yn(t,n){function r(e,n){return(e?"1":"0")+(n?"1":"0")}var i=Yn.INITIAL_COMPRESSION_FACTOR,o=(n=n||{compress:!0,forceBase64:!0}).compress||n.forceBase64?1.33:1,a=1;this.newPayload=function(){return new $n},this.encode=n.compress?function(e){var n;return 0===e._updates.length?"":(e=fe.arrayToJsonSafe(e._updates),n=fe.Base64.bytesToBase64(t.compress(e)),e=n.length/e.length,i=Math.max(e,Yn.MINIMAL_COMPRESSION_FACTOR),"11"+n)}:function(e){return 0===e._updates.length?"":(e=fe.arrayToJsonSafe(e._updates),r(!1,n.forceBase64)+(n.forceBase64?fe.Base64.toBase64(e):e))},this.refForEvent=function(e){return""+a+++fe.hashcode(e.type+e.timestamp)},this.estimatedDomUpdateSize=function(e){return(e?JSON.stringify(e).length:0)*o*(n.compress?i:1)}}function $n(){this._updates=[]}function Zn(r){return{compress:function(e){return fe.pako.gzip(e)},encodeTimestamp:function(e){e=e.timestamp;return C.isNumber(e)||(e=fe.currentTimestamp()),r.encodeNumber(e)},encodeEventType:function(e){return le.encodeEventTypes?le.dictionary.encodeEventType(e):e},encodeExtraInfo:function(e){var n=e.extraInfo;if(C.isUndefined(n))return"";for(var t,r,i=[],o=P.prototype.extraInfoAttrs,a=0;a can't parse by chances cookie:"+e.message)}}u=a[r].value,c=a[r].prev}return null===(u=c!==""+e?null:u)?(s=o===ce?Math.random()r?"BODY_EXCEEDS_MAX_ALLOWED_LENGTH_SET_IN_DETECTOR":JSON.stringify(u,(l=o,f=a,function(e,n){for(var t=n,r=0;r";fe.parentNode(a)&&!v(a);)if(1===(a=fe.parentNode(a)).nodeType){var u=fe.getElementId(a);if(u&&r&&!fe.isDuplicateElementId(u)&&p(a,u))return d(o,f(a,!1)),{selector:o.join(s)};if(d(o,l(a,n)),a===parent)return{selector:o.join(s)}}return{selector:o.join(s)}}}function Dt(e){var o,r=e.createElement("div"),u=Element.prototype.matches||Element.prototype.msMatchesSelector||function(){return!1},a=(o=/([^>]*):eq\((\d+)\)/gi,function(e){for(var n,t=[],r=0,i=o.exec(e);null!==i;)i.index&&(n=s(e.substring(r,i.index)))&&t.push({selector:n,eqIndex:-1}),t.push({selector:s(i[1]),eqIndex:parseInt(i[2])}),r=i.index+i[0].length,i=o.exec(e);return r]*|[\s>]*$/gi,"")}function l(e,n,t,r,i){if("function"==typeof e.querySelector){if(-1===n.eqIndex)return i&&t?(i=e.querySelector(n.selector))?[i]:[]:Array.prototype.slice.call(e.querySelectorAll(n.selector));if(1===r)return(t=e.querySelectorAll(n.selector))[n.eqIndex]?[t[n.eqIndex]]:[];for(var o=0,a=e&&e.nodeType===window.Node.DOCUMENT_NODE?[e.documentElement]:fe.children(e),s=0;sf)&&(o&&(o.endIndex=r),o={startIndex:r,metadata:s.metadata,encodedEvents:[],eventSetId:s.id,estimatedEncodedLength:0,sn:h[l]},v[l]&&(o.storage=!0),h[l]++,u.push(o)),o.encodedEvents.push(i),o.estimatedEncodedLength+=a;o&&(o.endIndex=r),d.handle(e,n,t)},this.onRestoreState=function(e,n){fe.assign(h,e),fe.assign(v,n)}}function Ht(a,i){var s=null;this.setNext=function(e){s=e},this.handle=function(e,n,t){for(var r=n,i=e.metadata.pageId,o=0;ole.dataLimit)return void i.emit("clsDebug","*** Event pageSnapshot REMOVED because content length of event exceeded the max payload size of "+le.dataLimit+" bytes, message content length "+(e.event.value.html.length+e.event.value.cookie.length)+" bytes ***");if(e&&e.event&&e.event.domSnapshot&&JSON.stringify(e.event.domSnapshot).length>le.dataLimit&&(e.event.domSnapshot=ce,i.emit("clsDebug","*** DomUpdate REMOVED because content length exceeded the max payload size of "+le.dataLimit+" bytes, message content length "+JSON.stringify(e.event.domSnapshot).length+" bytes ***")),e&&e.event&&e.event.value&&e.event.value.content&&e.event.value.content.length>le.dataLimit)return e.event.value.content="*** REMOVED because content length exceeded the max payload size of "+le.dataLimit+" bytes ***",void i.emit("clsDebug","Message not sent because request would result in 413 Entity Too Large. MESSAGE: "+JSON.stringify(e))}catch(e){i.emit("clsDebug","Error while handling with event length. message:",e.message)}var t,r;C.contains(le.nobelEventTypes,e.event.type)?((t=l(e.metadata)).events.push(e.event),c.push(t),s=ce):(s&&s.metadata===e.metadata&&!f(e.event.type,s)||(s=l(e.metadata),c.push(s)),"scrollReach"===e.event.type&&u!==ce?(t=e.event,r=s.events[u],t.value.top>r.value.top&&(r.value=t.value)):("scrollReach"===e.event.type&&(u=s.events.length),s.events.push(e.event))),a.handle(e,n)},this.pull=function(){var e=c=o&&-1!==o?function(e){for(var n=[],t=Date.now(),r=0;rw.domExpireSnapshotAfter){if(D().reset(),a.page.initializationTimestamp=fe.currentTimestamp(),"unload"===e.type&&e.setExtraInfo(e.FOCUS_TIME_ATTR,0),a.useCurrentTimeForPagesnapshot=!0,"ajaxRequest"===e.type&&(!e.value||!function(e){for(var n=0;nd.domExpireSnapshotAfter)return void i.emit("clsDebug","Discarded storage events, expiration time exceeded limit and was "+r+" ms")}v.restoreState(e,function(e){for(var n={},t=0;tu.domExpireSnapshotAfter)return void r.emit("clsDebug","Discarded storage events, expiration time exceeded limit and was "+t+" ms")}r.emit("beacon:sendingFromStorage"),h(e,!1)}}catch(e){r.emit("beacon:failedSendingFromStorage"),logger.error("error: could not send pending storage reports. message:",e.message)}}),this.flush=function(){c&&d()}}function ir(i,n,t,r){i.addEventListener("message",function(e){e=e.data;"beaconSent"===e.type?t(e.sn,e.encodedLength):"onBeaconResponse"===e.type?e.success?(n.untrack({pageId:e.pageId,beaconData:e.beaconData}),r.emit("beacon:sent",{sn:e.beaconData.sn,pageId:e.pageId})):r.emit("beacon:failed",{sn:e.beaconData.sn,status:e.requestStatus,pageId:e.pageId}):"newConfig"===e.type&&r.emit("handleGatewayResponse",e.config)}),r.on("updateSafariQueryString",function(e){i.postMessage({type:"updateQueryString",args:[e]})}),r.once("plugin:updateSafariQueryString",function(e){i.postMessage({type:"updateQueryString",args:[e]})}),r.on("confHashChange",function(e){i.postMessage({type:"confHashChange",args:[e]})}),this.restoreState=function(e,n){i.postMessage({type:"restoreState",args:[e,n]})},this.encodeAndDispatch=function(e,n,t,r){e=e.map(function(e){return e.toJSON?e.toJSON():e});i.postMessage({type:"encodeAndDispatch",args:[e,n,t,!1]})}}function or(s,i,t,e,o){var u=[],c=e||[],l=[],f={},d=!0,a={};function h(n,e,t,r){var i,o,a=[],r=r||{};if(!f[n]){for(i=0;i callAppMeasurementAPI() -> t function not exist")):logger.error("## AdobeAnalyticsInterceptor -> callAppMeasurementAPI() -> trackerObj not exist"):logger.error("## AdobeAnalyticsInterceptor -> callAppMeasurementAPI() -> s_gi function not exist")}e.on("invalidateSession",function(){a=!1}),e.on("remoteClseConf",function(e){e&&!a&&(a=!0,r=e,n.AppMeasurement?s():fe.waitingInterval(n,"AppMeasurement",s,1e3,t.adobeAPIMaxAttempts))})}function dr(r,n,logger,t){var i,o=t.googleDimensionIndex,a=t.gaMeasurementId,s=!1,u="dimension",c="gbSessionId",l="Glassbox_Integration";function f(){function e(e){for(var n,t=0;t callGoogleAnalyticsAPI() -> config.googleDimensionIndex array is larger than config.gaMeasurementId or clse not exist"),n.emit("clsDebug","callGoogleAnalyticsAPI",ce,"config.googleDimensionIndex array is larger than config.gaMeasurementId or clse not exist")),a.length===o.length&&0o.length&&1===o.length&&e(!0)}n.on("invalidateSession",function(){s=!1}),n.on("remoteClseConf",function(e){e&&!s&&(s=!0,i=e,r.gtag||r.ga?f():(fe.waitingInterval(r,"gtag",f,1e3,t.googleAPIMaxAttempts),fe.waitingInterval(r,"ga",f,1e3,t.googleAPIMaxAttempts)))})}function hr(e,s){var u={ea:"experimentName",el:"variantName"};s.on("ajax:end",function(e){try{if(200<=e.status&&e.status<=202&&(a=e.url,fe.isStringMatch("*google-analytics*collect*ec=Monetate*",a))){var n=e.url;if(n=fe.extractSearch(n)){for(var t=n.split("&"),r={},i=0;iu&&(o=o.substr(0,u).concat("...")),s&&(e.tagName,e.type))),o}}function Cr(n,t,r){var i,o,a=!1,s=!1,u=!1,c={state:"init"};function l(e){"ready"===e.data.type?(s=!0,clearTimeout(o),u&&f("ready")):t.emit(e.data)}function f(e){a||(a=!0,c.state=e,t.emit("worker:init",i))}function d(e){i.addEventListener("message",l),i.postMessage({type:"init",args:[r,e,cn.getKeyInfo()]}),c.state="started"}function h(){try{var e,n;fe.browserVersionLargerOrEqual(navigator.userAgent,113,"edg/")||(e=(r.enableSessionizingByCors||rn.isCorsReporting())&&!r.reportDisableCors,r.reportInitializeWorkerAsBlob?(n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",function(e){"string"==typeof e.data&&(-1=n}},urimatches:function(e){e||o("Missing required argument 'pattern'.");var n=new RegExp(e);return function(e){return!1!==n.test(e.url)}},hostmatches:function(e){e||o("Missing required argument 'pattern'.");var t=new RegExp(e),r=window.location.hostname;return function(e){var e=fe.extractHostname(e.url),n=ue.querySelector("base"),n=n?fe.extractHostname(n.href):null;return!1!==t.test(e||n||r)}},not:function(e){e||o("Missing required arguments.");var n=r(e);return 1!==n.length&&o("Expecting single argument."),function(e){return!n[0](e)}},and:function(e){e||o("Missing required arguments.");var t=r(e);return function(e){for(var n=0;n=f.ajaxDebugEventMinDuration&&c.emit("clsDebug","createAjaxRecorderTracker.onloadEnd"+(n?" unloading=true":" unloading=false"),{name:"ajax debug",message:"ajax event reached ajaxDebugEventMinDuration"},JSON.stringify(u))},0)}return{initConfig:function(e){var n=!1;return f.ajaxRecordMetadata&&(a=e.create(f.ajaxRecordMetadata),n=!0),f.ajaxRecordResponseHeaders&&(v=e.create(f.ajaxRecordResponseHeaders),n=!0),f.ajaxRecordResponseBody&&(g=e.create(f.ajaxRecordResponseBody),n=!0),f.ajaxRecordRequestHeaders&&(m=e.create(f.ajaxRecordRequestHeaders),n=!0),f.ajaxRecordRequestBody&&(p=e.create(f.ajaxRecordRequestBody),n=!0),n},onLoad:function(e){e.recordingLimitExceeded||c.emit("ajax:load",y(e))},onError:function(e){e.recordingLimitExceeded||c.emit("ajax:error",y(e))},onSend:function(e){var n;t.allow()?(n=y(o[e.uuid]=e,e.requestHeaders,e.requestContent),e.requestContent&&(n.data=e.requestContent)):e.recordingLimitExceeded=!0},onLoadEnd:r,onLoadEndSend:b}}function Ir(e,n,t,r,i,o){if(this.api="fetch",this.url=e,this.startTime=r,this.lastFocusedSelectorInfo=i,this.lastFocusedCSSSelectorInfo=o,this.uuid=t,this.init=n||{},this.method=n.method,this.requestHeaders=[],this.masking={},this.sn=Rr.nextSn(),n.headers&&"[object Headers]"===n.headers.toString())for(var a=n.headers.entries(),s=a.next();!s.done;)this.requestHeaders.push(s.value[0]+": "+s.value[1]),"content-type"===s.value[0].toLowerCase()&&(this.reqContentType=s.value[1]),s=a.next();else for(var u in n.headers)n.headers.hasOwnProperty(u)&&(this.requestHeaders.push(u+": "+n.headers[u]),"content-type"===u.toLowerCase())&&(this.reqContentType=n.headers[u])}function kr(e,n,t,r,i,o,a){this.uuid=r,this.requestHeaders=[],this.method=n,this.url=e,this.async=t,this.api="xhr",this.ajaxMasker=i,this.masking={},this.sn=Rr.nextSn(),this.ajaxResponseBodyMaxLength=o,this.ajaxResBodyOctetTypeFix=a}function Mr(s,n,u,c,l,f,d,h,v,t,g,logger,e){var r,i,o;function m(e){return!e||e.includes("json")||e.includes("text")}function a(e){"notSupported"!==h.getPerformanceResourceEntry(e.url,e)||o||(o=!0,n.emit("clsDebug","Performance API not supported during extraction of TTFB and DT")),u("onLoadEnd",e)}function p(e){-1!==t?setTimeout(h.gbBind(a,null,e),t):a(e)}s.fetch&&(e&&(e=Object.getOwnPropertyDescriptor(s,"fetch"))&&!e.value&&(i=h.extractFromIframe("window"),r=i.fetch),o=!1,-1!==t&&(t=Math.min(t,100)),r?(e=Object.getOwnPropertyDescriptor(i,"fetch"),Object.defineProperties(s,{fetch:e})):r=s.fetch,s.fetch=function(){var e=!1,o=(1n&&e.timestamp=c&&(f[t].times=f[t].times.filter(function(e){return n.timestamp-e.time=c?(n.indexInRage=c+f[t].count,n.rageSequence=d,f[t].isRage||o({element:n.element,dataToEncode:{type:"rageClick",startEventRelatedId:f[t].times[0].eventId,endEventRelatedId:n.id,rageSequence:d},relatedEvent:n},"rageClickStruggle"),f[t].isRage=!0,f[t].count=f[t].count+1):f[t].isRage&&((f={})[t]={},f[t].times=[],f[t].times.push({time:n.timestamp,eventId:n.id}),f[t].count=0,++d)):(f[t]={},f[t].times=[],f[t].times.push({time:n.timestamp,eventId:n.id}),f[t].count=0),s&&f[s]&&f[s].isRage&&!f[t].isRage&&(f[s].isRage=!1,f[s].count=0,++d),s=t}}}}(fe,e,t,a,{timeBetweenClicks:r.struggleRageClickInterval,minimumClicksToRage:r.struggleRageClickMinCount,elementsToIgnoreBySelector:r.struggleRageClickIgnoreBySelector});o.push(fe.gbBind(s.handleClick,s)),r.struggleCaptureErrorClick&&(e=function(e,r,n){var i,o,a=[],s=n.errorClickTimeout;return e.on("pageError",function(e){i&&(e.eventLimitExceeded=!1,a.push(e.error),o=!0)},ce,-1),{handleClick:function(e){clearTimeout(i);var n=e.id,t=e;i=setTimeout(function(){o&&(o=!1,r({element:e.element,dataToEncode:{eventRelatedId:n,type:"errorClick"},errors:a,relatedEvent:t},"errorClickStruggle"),a=[]),i=null},s)}}}(n,t,{errorClickTimeout:r.struggleErrorClickInterval||1e3}),o.push(fe.gbBind(e.handleClick,e)));return{handleClick:function(n){o.forEach(function(e){e(n)})}}}(O,D,e,F=K,R),s=function(t,e,n){var r=!1,i=!1,o=!1;function a(){n()&&r&&!i&&e({element:ue,dataToEncode:{type:"backForward"}},"pageStruggle - backForward")}function s(){n()&&o&&e({element:ue,dataToEncode:{type:"reload"}},"pageStruggle - reload")}return{handlePageLoad:function(){var e=t.performance.getEntriesByType?t.performance.getEntriesByType("navigation"):[];if(0=0?r="back-forward-cache":t&&(r=ue.prerendering||h()>0?"prerender":t.type.replace(/_/g,"-")),{name:e,value:void 0===n?-1:n,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},g=function(e,n,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){n(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},t||{})),r}}catch(e){}},m=function(t,r){var e=function e(n){"pagehide"!==n.type&&"hidden"!==ue.visibilityState||(t(n),r&&(removeEventListener("visibilitychange",e,!0),removeEventListener("pagehide",e,!0)))};addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0)},p=function(n,t,r,i){var o,a;return function(e){t.value>=0&&(e||i)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=function(e,n){return e>n[1]?"poor":e>n[0]?"needs-improvement":"good"}(t.value,r),n(t))}},r=-1,o=function(){return"hidden"!==ue.visibilityState||ue.prerendering?1/0:0},s=function(){m(function(e){var n=e.timeStamp;r=n},!0)},y=function(){return r<0&&(r=o(),s(),d(function(){setTimeout(function(){r=o(),s()},0)})),{get firstHiddenTime(){return r}}},b=function(n,t){t=t||{};var r,i=[1800,3e3],o=y(),a=v("FCP"),e=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime-1&&n(e)},o=v("CLS",0),a=0,s=[],u=function(e){e.forEach(function(e){if(!e.hadRecentInput){var n=s[0],t=s[s.length-1];a&&e.startTime-t.startTime<1e3&&e.startTime-n.startTime<5e3?(a+=e.value,s.push(e)):(a=e.value,s=[e]),a>o.value&&(o.value=a,o.entries=s,r())}})},c=g("layout-shift",u);c&&(r=p(i,o,t,e.reportAllChanges),m(function(){u(c.takeRecords()),r(!0)}),d(function(){a=0,E=-1,o=v("CLS",0),r=p(i,o,t,e.reportAllChanges)}))},C={passive:!0,capture:!0},N=new Date,T=function(e,n){c||(c=n,l=e,t=new Date,x(removeEventListener),S())},S=function(){if(l>=0&&l1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,n){var t=function(){T(e,n),i()},r=function(){i()},i=function(){removeEventListener("pointerup",t,C),removeEventListener("pointercancel",r,C)};addEventListener("pointerup",t,C),addEventListener("pointercancel",r,C)}(n,e):T(n,e)}},x=function(n){["mousedown","keydown","touchstart","pointerdown"].forEach(function(e){return n(e,B,C)})},I=function(n,t){t=t||{};var r,i=[100,300],o=y(),a=v("FID"),s=function(e){e.startTimen.latency){if(t)t.entries.push(e),t.latency=Math.max(t.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};P[r.id]=r,L.push(r)}L.sort(function(e,n){return n.latency-e.latency}),L.splice(10).forEach(function(e){delete P[e.id]})}},V=function(e,n){n=n||{};var t=[200,500];j();var r,i=v("INP"),o=function(e){e.forEach(function(n){(n.interactionId&&U(n),"first-input"===n.entryType)&&(!L.some(function(e){return e.entries.some(function(e){return n.duration===e.duration&&n.startTime===e.startTime})})&&U(n))});var n,t=(n=Math.min(L.length-1,Math.floor(O()/50)),L[n]);t&&t.latency!==i.value&&(i.value=t.latency,i.entries=t.entries,r())},a=g("event",o,{durationThreshold:n.durationThreshold||40});r=p(e,i,t,n.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),m(function(){o(a.takeRecords()),i.value<0&&O()>0&&(i.value=0,i.entries=[]),r(!0)}),d(function(){L=[],D=R(),i=v("INP"),r=p(e,i,t,n.reportAllChanges)}))},F={},z=function(n,t){t=t||{};var r,i=[2500,4e3],o=y(),a=v("LCP"),e=function(e){var n=e[e.length-1];if(n){var t=n.startTime-h();tperformance.now())return;i.entries=[e],o(!0),d(function(){i=v("TTFB",0),(o=p(n,i,r,t.reportAllChanges))(!0)})}})};e.getCLS=u,e.getFCP=b,e.getFID=I,e.getINP=V,e.getLCP=z,e.getTTFB=W,e.onCLS=u,e.onFCP=b,e.onFID=I,e.onINP=V,e.onLCP=z,e.onTTFB=W,Object.defineProperty(e,"__esModule",{value:!0})}(e.webVitals={})}function Gr(e,t,n,r,i,o){var a;function s(e){if(e)for(var n in e)"hash"!==n&&(o[n]=e[n])}if(e.detectorScript&&e.detectorScript.src&&o.configPath){var u,c=t.get("js.conf");if(c)try{u=r.decode(c),a=u.hash,s(u)}catch(e){logger.error("failed parsing JSON of external configuration: "+e.message,e)}c=fe.extractOrigin(e.detectorScript.src);n(fe.joinPath(c,o.configPath),{xhrBypassOnReadyStateChange:o.xhrBypassOnReadyStateChange},function(e){var n;try{n=JSON.parse(e)}catch(e){return void logger.error("Failed parsing external configuration JSON: "+e.message,e)}void 0!==a&&void 0!==n.hash&&a===n.hash||(t.set("js.conf",r.encode(n)),s(n),a=n.hash)},function(e){i.emit("clsDebug",e)})}}function qr(n){this.encode=function(e){return e.constructor===Array?n.encode(fe.arrayToJsonSafe(e)):n.encode(JSON.stringify(e))},this.decode=function(e){return JSON.parse(n.decode(e))}}function Jr(e,l){(e=e||{}).valueMaskClasses=r(e.valueMaskClasses),e.domMaskClasses=r(e.domMaskClasses);var n=e.domMaskingMode===le.censorMode.WhiteList,t=e.valueMaskingMode===le.censorMode.WhiteList;function r(e){var n,t=[],r=/\s/;e=e||[];for(var i=0;iBODY"));return!i&&s&&(i=e.ownerDocument.querySelector("HTML>FRAMESET")),M.isPageVisible||i&&fe.isElementShown(i)?(n.visit(e,function(e,n){if(g.blown)return!0;!M.isPageVisible&&(e&&e.nodeType===m.Node.TEXT_NODE||x&&!f&&fe.isVisible(e))&&(M.isPageVisible=!0);var t=!0,r=b.idOf(e);if(!!m.ShadowRoot&&e instanceof m.ShadowRoot)I&&!/\{\s+\[native code\]/.test(Function.prototype.toString.call(e.constructor))?(o=A(!0),e.host._customElement=!0):o=A();else try{if(o=c&&c(e,n)||w&&w(e,n))t=!1;else{if("BODY"===e.tagName&&e.parentElement&&"HTML"!==e.parentElement.tagName&&k){var i,o=y.clonerDoc.createElement("gb-body");for(a=0;as.maxChunkTime&&(e=!0)}s.stack.length?window.setTimeout(s.process,0):(s.contextUpdater.onEnd(),s.callback(s.cloneRoot,s.callbackId))}}function ii(r,e,i){i=fe.optionsWithDefaults(i,{expireAfter:100,byCtor:[]});var o={};e.on("domTrackingStarted",function(){setTimeout(function(){o={}},i.expireAfter)}),this.clonerHook=function(e,n){for(var t=0;t/gi,""),c.push("text:"+d)}else for(;s=l.next();)u=n.idOf(s),o.addedNodes&&o.addedNodes[u]?(u=e.cloneNode(s),c.push(t.tokenForClonedNode(u))):c.push(t.tokenForNode(s));"SELECT"!=o.element.nodeName||o.element.selectedIndex||o.element.querySelector("option[selected]")||(o.element._gbForceZeroSelectedIndex=!0);i=o.element.shadowRoot,r=(i&&o.addedNodes[n.idOf(i)]&&c.push(t.tokenForClonedNode(e.cloneNode(i))),!i&&o.adoptedStyles&&o.adoptedStyles.length&&o.adoptedStyles.forEach(function(e){c.push(t.tokenForClonedNode(e))}),fe.ensureProperty(a,"domChanges",o.id));return r.children={ordinal:o.childListOrdinal,childList:c},r}}function hi(s,e){e=e||{};var u=fe.immutableSet("checkbox","radio"),c=fe.immutableSet.apply(null,e.ignoredFormElement||[]);var l={INPUT:"inputs",SELECT:"selects",TEXTAREA:"textareas"};return function(e,n){var t;if((i=e.element,!c[fe.getElementId(i)])&&(e.properties&&0","text/xml");return n.disconnect(),1\n"+(c.fixChromeBackgroundClipCSS?e.outerHTML.replace(/ background-clip/g," -webkit-background-clip"):e.outerHTML),t=r?r.maskCookie(i.cookie):i.cookie,l.externalCallback(new bi(n,a.mask(i.referrer||""),l.sequenceNumber,t,i.characterSet,c.encodeReferrer)))}catch(e){l.internalFailureCallback(e)}},this.internalFailureCallback=function(e){logger.error("could not obtain page snapshot. error: "+e),l.lastError=e,l.externalCallback(ce)}}function bi(e,n,t,r,i,o){this.html=e,this.referrer=o?n.replace(/\s/g,"%20"):n,this.seq=t,this.charset=i,this.cookie=r}function wi(u,c,l){l=l||{},u=u||[];var f=0;this.getSnapshot=function(){for(var e,n,t,r,i,o={timestamp:f++,propertiesMode:"modifiedOnly",version:l.tokenizationVersion},a=0,s=0;sc.maxTextLength)return!1;if(fe.parentNode(e)&&"HEAD"===fe.parentNode(e).tagName&&f[e.tagName])return!1;if(v[e.id]||"OBJECT"===e.tagName&&_[e.getAttribute("type")]||fe.hasOneOfClassNames(e,g))return!1;if(l[e.tagName]){n=h[e.tagName];if(!n||!n.exec(e.textContent))return!1}if(e&&e.nodeType===window.Node.ELEMENT_NODE&&c.denySelectors&&c.denySelectors.length)for(var t=0;t]+?rel\s*?=\s*?['"]stylesheet/gi,C=fe.immutableSet.apply(null,c.denyTagNames),T=fe.immutableSet.apply(null,c.denyHeadTagNames),P=fe.immutableSet.apply(null,c.denyIds),F=fe.immutableSet.apply(null,c.denyObjectElementsByType),U=fe.immutableSet.apply(null,c.tagsToCheckLength),l=C,f=T,d=m,h=L,v=P,g=c.denyClasses,_=F,[]),C=(E.push(i.createContextUpdater(t)),E.push(o.createContextUpdater(t)),s.domRegexPatternForMasking.length&&s.domMaskContentByRegex.length&&E.push(a.createContextUpdater(t)),new ti(u,new Zr(E),{crossShadow:s.recordShadowDom})),T=fe.compositeFunctionBuilder(!0);s.domCompressRepetitiveElements.length&&T.add((V=n,m=s.domCompressRepetitiveElements,p=1,y={},m=m.map(function(e){return e.toUpperCase()}),z=fe.immutableSet.apply(null,m),function(e){var n;if(e.tagName&&(n=e.tagName.toUpperCase()),z[n])try{var t,r,i=e.outerHTML,o=y[i];if(o)(r=e.ownerDocument.createElement(n)).setAttribute("gb-clone",o);else{for(y[i]=p,(r=e.ownerDocument.createElement(n)).innerHTML=e.innerHTML,t=0;t=O.maxDuration)?ae(this,"duration"):ie&&this.elementCount>=O.maxElements&&ae(this,"elementCount"))}a=new ni(e,n,function(t,r,e,n,i){var o,a,s,u=ce,c=e.immutableSet.apply(null,["TEXTAREA"]);i=i||[];try{u=n?new RegExp(n,"i"):ce}catch(e){}function l(){o=t.document.implementation.createHTMLDocument("cloner-doc"),s=function(e){return o.importNode(e,!!c[e.tagName])}}return u&&u.test(t.navigator.userAgent)||e.isSafari(t.navigator.userAgent)||e.isChromeOnIos(t.navigator.userAgent)?(o=t.document.implementation.createHTMLDocument("cloner-doc"),a=ue.documentElement?ue.documentElement.namespaceURI:null,s=function(e){var n;return!c[e.tagName]&&e&&e.nodeType===t.Node.ELEMENT_NODE?(n=e.namespaceURI!==a?o.createElementNS(e.namespaceURI,e.tagName.toLowerCase()):o.createElement(e.tagName),Array.prototype.slice.call(e.attributes).forEach(function(e){try{n.setAttribute(e.name,e.value)}catch(e){}})):n=o.importNode(e,!!c[e.tagName]),n}):!e.isIE(t.navigator.userAgent)||"string"==typeof t.location.href&&e.arrayValueContainedInString(i,t.location.href)?l():(o=t.document,s=function(n){try{return n.cloneNode(!!c[n.tagName])}catch(e){r.emit("clsDebug","failed to clone node "+n.nodeName)}}),{clonerDoc:o,cloneNode:s}}(e,n,fe,s.forceRenderingFixForUA,s.importNodeWhenUrlContains),i,t,C,T.build(),L.build(),P.build(),s.enableAdoptedCss,B,s.checkForHtmlOnly,s.checkVisibility,s.framesetRecordEnabled,s.recordNonNativeShadowAsElementContainer,0,s.renderSlotsInCustomElements,s.domRecordInnerBody,s.customElementWrapperName);this.isNodeAccepted=u,this.createChildNodesIterator=function(e){return new ei(e,u)},this.visit=fe.gbBind(C.visit,C),this.cloneNode=fe.gbBind(a.clone,a),this.getAsyncNodeVisitor=function(){return new ri(u,new Zr(E),{crossShadow:q.config.recordShadowDom,visitorAsyncMaxChunkTime:q.config.visitorAsyncMaxChunkTime})}}function Di(e,o,v){var g={},m={};function p(e){var n=v.idOf(e);if(g[n]){delete g[n];for(var t=[],r=fe.childNodes(e)||[],i=0;i=r.graceTime),(g||p)&&v&&ddiv>")):(o.selector=i.splice(i.length-1)[0],i.length&&(o.hostSelectorPath=i.join(",")))),o}}function uo(t,r,i){var o="_gbHasShadow",a="_gbHasObserver",s={initialShadowRootCount:0,hookInvocationsCount:0,totalShadowRootCount:0,totalShadowRootRemoved:0};function u(e){for(;e&&!e[o];)e[o]=!0,e=fe.parentNode(e)?fe.parentNode(e):e.host}function c(e){var n=t.Element.prototype[e];n&&(t.Element.prototype[e]=function(){var e=n.apply(this,arguments);try{fe.isAttachedToDOM(this)&&r.emit("shadow:rootAttached",e),r.emit("shadow:rootDetected",e),this[a]=!0,u(this),s.hookInvocationsCount++,s.totalShadowRootCount++}catch(e){e.message}return e})}r.on("domMutation",function(e){if("childList"===e.type){for(var n=0;nv.requestDataLimit?(n=e.content&&e.content.byteLength,e.content="*** REMOVED because content length of "+n+" bytes exceeded the configured max payload size of "+v.requestDataLimit+" bytes ***",i.emit("clsDebug","Data not sent because request would result in 413 Entity Too Large. DATA: "+JSON.stringify(e))):(t.countRecorded++,i.emit("saveResourceEvent",e)))}function l(e){t.countCorsDenied++,i.emit("saveCorsDeniedEvent",e)}function b(){var e,n,t=v.electAmount,r=v.maxPendingResources;if(d.get("res.all")&&(n=e=!0,t=Number.MAX_VALUE,r=Number.MAX_VALUE),e|=v.nonVersionedResources&&Math.random()=r);l++)s=Math.floor(Math.random()*o.length),u.push(o[s].name),o.splice(s,1);d.set(g,h.encode(u))}if(n)for(l=0;l=f&&g()}function g(){var e;c.resourceBufferIncreaseBy&&0v.minVisibleElementOpacity}function T(e){for(var n=v.domFormValidationTraverseParentsForVisibility;n&&e;){if(!C(e))return;e=e.parentElement||e.host,n--}return 1}function c(e){return!function(e){for(var n=0;nv.minTextLen}function S(e){return!y[d.idOf(e)]&&c(e)&&(e=e,!a[f.parentNode(e).tagName])&&(!(!u.length||!f.arrayValueContainedInString(u,e.textContent.toLowerCase()))||!(!(e=f.parentNode(e))||e.nodeType!==l.Node.ELEMENT_NODE)&&(n((e=l.getComputedStyle(e)).color)||v.considerBG&&n(e.backgroundColor)));function n(e){e=e.match(/\d+/g);return e&&parseInt(e[0])>v.redComponentMin&&e[0]>Math.max(parseInt(e[1]),parseInt(e[2]))+v.redComponentDelta}}t.on("domMutation",function(u){var c;s&&(c=w(u.actualTarget))&&setTimeout(function(){for(var e,n,t,r,i="childList"===(e=u).type?e.addedNodes:"attributes"===e.type?[e.actualTarget]:[],o=[],a=0;a")}function Io(u,c,i,o,a,l){var e,s,f={},d=[],h=[],v=["name","pageUrl","selector","accessorMethod","accessor"],g=!1,m={masked:0,reported:0,configured:0,configurationLastUpdatedAt:0,badRules:[],reportsByRule:{},rulesList:[]},p=!1,n=l.clientAttributeFuseWaitTime,y=!0,b=l.clientAttributeMaxMutations,w=0;function E(e,n){m.badRules.push({rule:e,msg:n})}function C(e){for(var n,t=0;t\s*/g,">"),new i(n,o,a,t)}else E(n,"invalid selector");else E(n,"invalid accessorMethod")}(e[t]))&&h.push(n);m.configured=e.length}function T(e,n){try{for(var t=u.location.href,r={},i=0;io.state.dpr?e.setExtraInfo(e.ZOOM,o.zoomType.IN):e.setExtraInfo(e.ZOOM,o.zoomType.OUT),o.state.dpr=i.devicePixelRatio),e.value={},e.value.dpr=o.state.dpr,e.value.window=o.page.windowSize,e.value.screen=o.page.screenSize,r&&(s=e,a.resizeDebounceTime?u=setTimeout(c,a.resizeDebounceTime):c()))}}.onResize))}}function Bo(e){for(var n=0;n